diff options
author | Brad King <brad.king@kitware.com> | 2009-07-02 18:14:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-02 18:14:03 (GMT) |
commit | 2247153110406ce2a6a9baea39394167fa1f75c7 (patch) | |
tree | 330e39229d95dd6eb730237a57b6090459aa79b4 /Source/cmGlobalXCodeGenerator.h | |
parent | 6bd9d5ab8ac147bb4fd120317f478fe601e2266b (diff) | |
download | CMake-2247153110406ce2a6a9baea39394167fa1f75c7.zip CMake-2247153110406ce2a6a9baea39394167fa1f75c7.tar.gz CMake-2247153110406ce2a6a9baea39394167fa1f75c7.tar.bz2 |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index e3fc270..ba1529d 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, |