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.
This commit is contained in:
Brad King 2014-06-11 10:39:51 -04:00
parent 2f0004c143
commit cbf689c7dd
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -276,8 +276,8 @@ public:
void GetTransitivePropertyTargets(const std::string& config,
cmTarget const* headTarget,
std::vector<cmTarget*> &libs) const;
void GetTransitiveTargetClosure(const std::string& config,
std::vector<cmTarget*> &libs) const;
void GetLinkImplementationClosure(const std::string& config,
std::vector<cmTarget*> &libs) const;
/** The link implementation specifies the direct library
dependencies needed by the object files of the target. */