From cbf689c7dd39dc0952361b63e8322a0408b4569b Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 11 Jun 2014 10:39:51 -0400 Subject: 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. --- Source/cmTarget.cxx | 6 +++--- Source/cmTarget.h | 4 ++-- 2 files changed, 5 insertions(+), 5 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 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 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 &tgts) const { std::set emitted; diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 762323f..2211338 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -276,8 +276,8 @@ public: void GetTransitivePropertyTargets(const std::string& config, cmTarget const* headTarget, std::vector &libs) const; - void GetTransitiveTargetClosure(const std::string& config, - std::vector &libs) const; + void GetLinkImplementationClosure(const std::string& config, + std::vector &libs) const; /** The link implementation specifies the direct library dependencies needed by the object files of the target. */ -- cgit v0.12