summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItem.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmLinkItem: Clarify name of CMP0027 check memberBrad King2022-01-291-2/+2
| | | | | | | The only purpose of `cmLinkImplItem`'s `FromGenex` member is to decide whether to check CMP0027. That won't be needed for link items added by new interfaces in the future. Clarify the name to indicate that we do not always need to know if the item came from a generator expression.
* Ninja Multi-Config: Fix internal cross-config target dependency orderingBrad King2021-11-041-4/+8
| | | | | | | | | | | In commit 7abc3d61ac (Ninja Multi-Config: Fix issue with framework dependencies and Autogen, 2020-02-13, v3.17.0-rc2~18^2) the `cmLinkItem` comparison operator was updated to order identical strings by the cross-config boolean. We need to order identical targets that way too in order to represent both a cross and non-cross dependency on the same target. Issue: #22855
* Ninja Multi-Config: Fix issue with framework dependencies and AutogenKyle Edwards2020-02-171-4/+11
| | | | Fixes: #20345
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* clang-tidy: Use `= default`Regina Pfeifer2019-01-251-3/+1
| | | | | | Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and `Source/cmUVHandlePtr.h` where a few older compilers require a user-defined default constructor (with `{}`).
* clang-tidy: Pass by valueRegina Pfeifer2019-01-221-6/+5
|
* clang-tidy: Use default member initializationRegina Pfeifer2018-12-151-3/+0
|
* clang-tidy: Remove redundant member initializationsRegina Pfeifer2018-12-151-4/+2
|
* cmLinkItem: Add backtraceBrad King2018-10-181-6/+6
| | | | | | Carry a backtrace on every link item, not just link implementation items. For now the non-impl items will still have empty backtraces at runtime, but this will allow us to introduce values over time.
* 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.