summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-11 14:39:51 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:14:44 (GMT)
commitcbf689c7dd39dc0952361b63e8322a0408b4569b (patch)
treea57919341354f08f67197803cb1b0f674429314f /Source/cmTarget.cxx
parent2f0004c143455387c4b6ecac2458fcec4d57643f (diff)
downloadCMake-cbf689c7dd39dc0952361b63e8322a0408b4569b.zip
CMake-cbf689c7dd39dc0952361b63e8322a0408b4569b.tar.gz
CMake-cbf689c7dd39dc0952361b63e8322a0408b4569b.tar.bz2
cmTarget: Rename Get{TransitiveTarget => LinkImplementation}Closure
The method computes the transitive closure of targets starting with the current target link implementation libraries. Clarify the name.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 6759a3d..72c46ed 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -5207,7 +5207,7 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget const* tgt,
|| (!impliedByUse && !explicitlySet));
std::vector<cmTarget*> deps;
- tgt->GetTransitiveTargetClosure(config, deps);
+ tgt->GetLinkImplementationClosure(config, deps);
if(deps.empty())
{
@@ -5423,7 +5423,7 @@ bool isLinkDependentProperty(cmTarget const* tgt, const std::string &p,
const std::string& config)
{
std::vector<cmTarget*> deps;
- tgt->GetTransitiveTargetClosure(config, deps);
+ tgt->GetLinkImplementationClosure(config, deps);
if(deps.empty())
{
@@ -6142,7 +6142,7 @@ void processILibs(const std::string& config,
}
//----------------------------------------------------------------------------
-void cmTarget::GetTransitiveTargetClosure(const std::string& config,
+void cmTarget::GetLinkImplementationClosure(const std::string& config,
std::vector<cmTarget*> &tgts) const
{
std::set<cmTarget*> emitted;