diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-04 14:17:18 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-07 22:00:17 (GMT) |
commit | 5aa9731c9fa06ca51df1e8bdd5f8625d0ce3776d (patch) | |
tree | 874b23ee4349b842c02f11ca08f40047ebcc5871 /Source/cmTarget.cxx | |
parent | 14eb4a1dc7c858f6b494fad68e15bf42bc4b60be (diff) | |
download | CMake-5aa9731c9fa06ca51df1e8bdd5f8625d0ce3776d.zip CMake-5aa9731c9fa06ca51df1e8bdd5f8625d0ce3776d.tar.gz CMake-5aa9731c9fa06ca51df1e8bdd5f8625d0ce3776d.tar.bz2 |
GenexEval: Add abstracted access to link interface for a target.
This can be extended with special handling for static libraries
so that we can process the link dependencies separately from the
usage dependencies.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index a90fa74..f7424a7 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -6002,6 +6002,22 @@ cmTarget::LinkInterface const* cmTarget::GetLinkInterface(const char* config, } //---------------------------------------------------------------------------- +void cmTarget::GetTransitivePropertyLinkLibraries( + const char* config, + cmTarget *headTarget, + std::vector<std::string> &libs) +{ + cmTarget::LinkInterface const* iface = this->GetLinkInterface(config, + headTarget); + if (!iface) + { + return; + } + + libs = iface->Libraries; +} + +//---------------------------------------------------------------------------- bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface, cmTarget *headTarget) { |