From 6f6f60226cae2005730e350b04b867d9b9210a94 Mon Sep 17 00:00:00 2001 From: hoffman Date: Thu, 19 Feb 2009 15:31:16 +0000 Subject: [PATCH] BUG: fix depend bug again for Xcode --- Source/cmGlobalXCodeGenerator.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 4cc6f95ec..641c5b7a2 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -3,8 +3,8 @@ Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmGlobalXCodeGenerator.cxx,v $ Language: C++ -Date: $Date: 2009-02-18 17:09:20 $ -Version: $Revision: 1.206 $ +Date: $Date: 2009-02-19 15:31:16 $ +Version: $Revision: 1.207 $ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. @@ -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()) -- 2.11.4.GIT