summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItem.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmLinkItem: Convert to a "sum type" over a string and target pointerBrad King2018-09-071-0/+72
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.