diff options
author | Brad King <brad.king@kitware.com> | 2014-06-16 18:27:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-25 14:01:56 (GMT) |
commit | 6ead631bf9ec6da8eeca5fb39e5eba80e5022f15 (patch) | |
tree | ef88b859d570f0cf8fcaca7d0496bbd6d880518b /Source/cmTarget.h | |
parent | b030a7f1ca89620ad4b51569c991a7c0b8aa05c2 (diff) | |
download | CMake-6ead631bf9ec6da8eeca5fb39e5eba80e5022f15.zip CMake-6ead631bf9ec6da8eeca5fb39e5eba80e5022f15.tar.gz CMake-6ead631bf9ec6da8eeca5fb39e5eba80e5022f15.tar.bz2 |
cmTarget: Teach GetLinkInterfaceLibraries to support $<LINK_ONLY>
Add a 'usage_requirements_only' parameter to GetLinkInterfaceLibraries
and supporting internal APIs to pass through to ExpandLinkItems so it
knows whether to use SetTransitivePropertiesOnly while evaluating
generator expressions.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 4930d70..9d1f966 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -280,7 +280,8 @@ public: LinkInterface const* GetLinkInterface(const std::string& config, cmTarget const* headTarget) const; LinkInterface const* GetLinkInterfaceLibraries(const std::string& config, - cmTarget const* headTarget) const; + cmTarget const* headTarget, + bool usage_requirements_only) const; void GetTransitivePropertyTargets(const std::string& config, cmTarget const* headTarget, std::vector<cmTarget const*> &libs) const; @@ -756,12 +757,13 @@ private: const std::string& config) const; LinkInterface const* - GetImportLinkInterface(const std::string& config, - cmTarget const* head) const; + GetImportLinkInterface(const std::string& config, cmTarget const* head, + bool usage_requirements_only) const; const char* ComputeLinkInterfaceLibraries(const std::string& config, LinkInterface& iface, cmTarget const* head, + bool usage_requirements_only, bool &exists) const; LinkImplementation const* |