summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-02 14:14:03 -0400
committerBrad King <brad.king@kitware.com>2009-07-02 14:14:03 -0400
commit2247153110406ce2a6a9baea39394167fa1f75c7 (patch)
tree330e39229d95dd6eb730237a57b6090459aa79b4 /Source/cmGlobalXCodeGenerator.h
parent6bd9d5ab8ac147bb4fd120317f478fe601e2266b (diff)
downloadcmake-2247153110406ce2a6a9baea39394167fa1f75c7.tar.gz
BUG: Do not generate "global" Xcode config
Xcode 2.0 and below supported only one configuration, but 2.1 and above support multiple configurations. In projects for the latter version we have been generating a "global" set of buildSettings for each target in addition to the per-configuration settings. These global settings are not used by Xcode 2.1 and above, so we should not generate them.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index e3fc2701ed..ba1529de78 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -130,8 +130,7 @@ private:
cmXCodeObject* buildPhases);
const char* GetTargetFileType(cmTarget& cmtarget);
const char* GetTargetProductType(cmTarget& cmtarget);
- void AddConfigurations(cmXCodeObject* target,
- cmTarget& cmtarget);
+ std::string AddConfigurations(cmXCodeObject* target, cmTarget& cmtarget);
void AppendOrAddBuildSetting(cmXCodeObject* settings, const char* attr,
const char* value);
void AppendBuildSettingAttribute(cmXCodeObject* target, const char* attr,