summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-07-24 15:58:23 -0400
committerDavid Cole <david.cole@kitware.com>2009-07-24 15:58:23 -0400
commit5bea9620dcecea1ff252c688823485560bc6cab1 (patch)
treeb2f185b9ab43b05cff87f92b945b57abbe68f069 /Source/cmGlobalXCodeGenerator.cxx
parent71c0e1417bdc42fbcc48986c7cb7c26642c1f665 (diff)
downloadcmake-5bea9620dcecea1ff252c688823485560bc6cab1.tar.gz
BUG: Additional fix necessary for issue #8481 so that Xcode builds do not write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 8bbc8fe6b7..0d3ddcef09 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2714,11 +2714,17 @@ void cmGlobalXCodeGenerator
buildSettings->AddAttribute("MACOSX_DEPLOYMENT_TARGET",
this->CreateString(deploymentTarget));
}
+
+ std::string symroot = root->GetMakefile()->GetCurrentOutputDirectory();
+ symroot += "/build";
+ buildSettings->AddAttribute("SYMROOT", this->CreateString(symroot.c_str()));
+
for( std::vector<cmXCodeObject*>::iterator i = configs.begin();
i != configs.end(); ++i)
{
(*i)->AddAttribute("buildSettings", buildSettings);
}
+
this->RootObject->AddAttribute("buildConfigurationList",
this->CreateObjectReference(configlist));