diff options
author | Brad King <brad.king@kitware.com> | 2019-07-23 13:52:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-23 14:06:35 (GMT) |
commit | b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8 (patch) | |
tree | 675c443c21f59522be9afdc7b801b2c3681a6e2a | |
parent | ad2b3a32d1b54716d1e87ae89db8c31d614a4730 (diff) | |
download | CMake-b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8.zip CMake-b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8.tar.gz CMake-b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8.tar.bz2 |
cmLinkItem: Expose HadHeadSensitiveCondition in cmLinkInterfaceLibraries
Clients may be able to avoid repeating work if they know the transitive
link interface libraries do not depend on what is linking them.
-rw-r--r-- | Source/cmLinkItem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h index 5b635b5..6450c62 100644 --- a/Source/cmLinkItem.h +++ b/Source/cmLinkItem.h @@ -58,6 +58,9 @@ struct cmLinkInterfaceLibraries { // Libraries listed in the interface. std::vector<cmLinkItem> Libraries; + + // Whether the list depends on a genex referencing the head target. + bool HadHeadSensitiveCondition = false; }; struct cmLinkInterface : public cmLinkInterfaceLibraries @@ -84,7 +87,6 @@ struct cmOptionalLinkInterface : public cmLinkInterface bool LibrariesDone = false; bool AllDone = false; bool Exists = false; - bool HadHeadSensitiveCondition = false; const char* ExplicitLibraries = nullptr; }; |