BUG: fix depend bug again for Xcode

This commit is contained in:
Bill Hoffman 2009-02-19 10:31:16 -05:00
parent 9d177237a7
commit 65c1511814
1 changed files with 2 additions and 3 deletions

View File

@ -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())