summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-12-20 15:16:57 (GMT)
committerBrad King <brad.king@kitware.com>2013-02-07 16:07:48 (GMT)
commitf980a8049522782779b3a721c37f976de1e38dcc (patch)
treed694350146e9b498cac71a991eeb64d173fb597f /Source/cmGlobalXCodeGenerator.h
parent650c6471600fa8b06ed343ff3a4f3d16a3dc95bc (diff)
downloadCMake-f980a8049522782779b3a721c37f976de1e38dcc.zip
CMake-f980a8049522782779b3a721c37f976de1e38dcc.tar.gz
CMake-f980a8049522782779b3a721c37f976de1e38dcc.tar.bz2
Xcode: Implement generator toolset selection (#9831, #13802)
Implement generator toolset selection (cmake -T) for Xcode > 2.0 by adding the GCC_VERSION build setting to project files.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index c98652f..131a6e6 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -83,6 +83,7 @@ public:
i.e. "Can I build Debug and Release in the same tree?" */
virtual bool IsMultiConfig();
+ virtual bool SetGeneratorToolset(std::string const& ts);
private:
cmXCodeObject* CreateOrGetPBXGroup(cmTarget& cmtarget,
cmSourceGroup* sg);
@@ -236,6 +237,7 @@ private:
std::map<cmStdString, cmXCodeObject* > TargetGroup;
std::map<cmStdString, cmXCodeObject* > FileRefs;
std::vector<std::string> Architectures;
+ std::string PlatformToolset;
};
#endif