• Brad King's avatar
    cmLinkItem: Convert to a "sum type" over a string and target pointer · fc7e4d1e
    Brad King authored
    Avoid exposing the item name implicitly as std::string.  When the item
    is a target, avoid storing a second copy of its name.
    
    Most link item construction is paired with calls to `FindTargetToLink`
    to get the possible target pointer.  Rename these methods to
    `ResolveLinkItem` and refactor them to construct the entire item.
    fc7e4d1e
cmComputeTargetDepends.cxx 19.2 KB