summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-02-19 10:31:16 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2009-02-19 10:31:16 -0500
commit65c1511814ee581fc21ac06eca92145e52215427 (patch)
treec2528743f5658efbe1d1f9fb4fde52f09996ff85 /Source
parent9d177237a7fc4d9943801b5c67cc1ccf21cacd25 (diff)
downloadcmake-65c1511814ee581fc21ac06eca92145e52215427.tar.gz
BUG: fix depend bug again for Xcode
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 01bdfc6437..0fada8d813 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2698,8 +2698,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget(
{
std::string universal = t->GetDirectory();
universal += "/";
- universal +=
- this->LocalGenerators[0]->GetMakefile()->GetProjectName();
+ universal += this->CurrentProject;
universal += ".build/";
universal += configName;
universal += "/";
@@ -2712,7 +2711,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget(
std::string universalFile = universal;
universalFile += *arch;
universalFile += "/";
- universalFile += t->GetName();
+ universalFile += t->GetFullName(configName);
makefileStream << "\t/bin/rm -f "
<<
this->ConvertToRelativeForMake(universalFile.c_str())