diff options
author | Brad King <brad.king@kitware.com> | 2020-05-12 15:20:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-12 16:37:13 (GMT) |
commit | fcd1a1a920ed68b06bc082e435b622a8532ac079 (patch) | |
tree | a9f5a8c3fc34e74826b56f48369eb4549d6ce1c5 /Source/cmLinkItem.h | |
parent | 4dc95526868d903c7f9e9505001cb5dbeec259c0 (diff) | |
download | CMake-fcd1a1a920ed68b06bc082e435b622a8532ac079.zip CMake-fcd1a1a920ed68b06bc082e435b622a8532ac079.tar.gz CMake-fcd1a1a920ed68b06bc082e435b622a8532ac079.tar.bz2 |
cmGeneratorTarget: Track when the set of link libs is config-dependent
Report in `cmLinkImplementationLibraries` and `cmLinkInterfaceLibraries`
whether the list of libraries depends on a genex referencing the
configuration. We already track whether a genex references the head
target.
Diffstat (limited to 'Source/cmLinkItem.h')
-rw-r--r-- | Source/cmLinkItem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h index f27648c..3d92935 100644 --- a/Source/cmLinkItem.h +++ b/Source/cmLinkItem.h @@ -54,6 +54,9 @@ struct cmLinkImplementationLibraries // Libraries linked directly in other configurations. // Needed only for OLD behavior of CMP0003. std::vector<cmLinkItem> WrongConfigLibraries; + + // Whether the list depends on a genex referencing the configuration. + bool HadContextSensitiveCondition = false; }; struct cmLinkInterfaceLibraries @@ -63,6 +66,9 @@ struct cmLinkInterfaceLibraries // Whether the list depends on a genex referencing the head target. bool HadHeadSensitiveCondition = false; + + // Whether the list depends on a genex referencing the configuration. + bool HadContextSensitiveCondition = false; }; struct cmLinkInterface : public cmLinkInterfaceLibraries |