Xcode: Port away from GetGeneratorTarget
This commit is contained in:
parent
9b244cc0ec
commit
79c11d2340
|
@ -51,13 +51,11 @@ void cmLocalXCodeGenerator::Generate()
|
||||||
{
|
{
|
||||||
cmLocalGenerator::Generate();
|
cmLocalGenerator::Generate();
|
||||||
|
|
||||||
cmTargets& targets = this->Makefile->GetTargets();
|
std::vector<cmGeneratorTarget*> targets = this->GetGeneratorTargets();
|
||||||
for(cmTargets::iterator iter = targets.begin();
|
for(std::vector<cmGeneratorTarget*>::iterator iter = targets.begin();
|
||||||
iter != targets.end(); ++iter)
|
iter != targets.end(); ++iter)
|
||||||
{
|
{
|
||||||
cmTarget* t = &iter->second;
|
(*iter)->HasMacOSXRpathInstallNameDir("");
|
||||||
cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(t);
|
|
||||||
gt->HasMacOSXRpathInstallNameDir("");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,13 +64,11 @@ void cmLocalXCodeGenerator::GenerateInstallRules()
|
||||||
{
|
{
|
||||||
cmLocalGenerator::GenerateInstallRules();
|
cmLocalGenerator::GenerateInstallRules();
|
||||||
|
|
||||||
cmTargets& targets = this->Makefile->GetTargets();
|
std::vector<cmGeneratorTarget*> targets = this->GetGeneratorTargets();
|
||||||
for(cmTargets::iterator iter = targets.begin();
|
for(std::vector<cmGeneratorTarget*>::iterator iter = targets.begin();
|
||||||
iter != targets.end(); ++iter)
|
iter != targets.end(); ++iter)
|
||||||
{
|
{
|
||||||
cmTarget* t = &iter->second;
|
(*iter)->HasMacOSXRpathInstallNameDir("");
|
||||||
cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(t);
|
|
||||||
gt->HasMacOSXRpathInstallNameDir("");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue