summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:48 (GMT)
commitd6bb319b09d056428468d8894f7d7dd2cb0d963e (patch)
tree016ecec965eb21caa46e552cd5f3d3d3d6311d32 /Source/cmGlobalXCodeGenerator.cxx
parent7a460852fa1bc9df22d4c54bac3d57f909488608 (diff)
downloadCMake-d6bb319b09d056428468d8894f7d7dd2cb0d963e.zip
CMake-d6bb319b09d056428468d8894f7d7dd2cb0d963e.tar.gz
CMake-d6bb319b09d056428468d8894f7d7dd2cb0d963e.tar.bz2
cmGeneratorTarget: Move GetFullName from cmTarget.
Bring GetFullNameInternal with it.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d53ecde..7b0e153 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2742,7 +2742,8 @@ cmGlobalXCodeGenerator::CreateXCodeTarget(cmTarget& cmtarget,
}
else
{
- fullName = cmtarget.GetFullName(defConfig.c_str());
+ cmGeneratorTarget *gtgt = this->GetGeneratorTarget(&cmtarget);
+ fullName = gtgt->GetFullName(defConfig.c_str());
}
fileRef->AddAttribute("path", this->CreateString(fullName.c_str()));
fileRef->AddAttribute("refType", this->CreateString("0"));
@@ -3688,7 +3689,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget(
std::string universalFile = universal;
universalFile += *arch;
universalFile += "/";
- universalFile += t->GetFullName(configName);
+ universalFile += gt->GetFullName(configName);
makefileStream << "\t/bin/rm -f "
<<
this->ConvertToRelativeForMake(universalFile.c_str())