diff options
author | Brad King <brad.king@kitware.com> | 2014-06-16 13:45:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 13:17:06 (GMT) |
commit | 069d60fe039ae1d797a26786f3cd4c23afc27b07 (patch) | |
tree | 10d884a76fed1c3d9a1879d7f0208480e0e79380 /Source/cmTarget.h | |
parent | 47ab3ca64105cdfcc7b57ffe037aa93d8226b945 (diff) | |
download | CMake-069d60fe039ae1d797a26786f3cd4c23afc27b07.zip CMake-069d60fe039ae1d797a26786f3cd4c23afc27b07.tar.gz CMake-069d60fe039ae1d797a26786f3cd4c23afc27b07.tar.bz2 |
cmTarget: Add method to lookup other targets in a target's scope
Move the main implementation of cmComputeLinkDepends::FindTargetToLink
into cmTarget.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index cb68559..049d3ea 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -308,6 +308,8 @@ public: }; LinkClosure const* GetLinkClosure(const std::string& config) const; + cmTarget const* FindTargetToLink(std::string const& name) const; + /** Strip off leading and trailing whitespace from an item named in the link dependencies of this target. */ std::string CheckCMP0004(std::string const& item) const; |