From 65c1511814ee581fc21ac06eca92145e52215427 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 19 Feb 2009 10:31:16 -0500 Subject: [PATCH] BUG: fix depend bug again for Xcode --- Source/cmGlobalXCodeGenerator.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 01bdfc643..0fada8d81 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())