summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 13:45:46 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:17:06 (GMT)
commit069d60fe039ae1d797a26786f3cd4c23afc27b07 (patch)
tree10d884a76fed1c3d9a1879d7f0208480e0e79380 /Source/cmTarget.h
parent47ab3ca64105cdfcc7b57ffe037aa93d8226b945 (diff)
downloadCMake-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.h2
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;