summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
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/cmDocumentVariables.cxx
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/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index 2b9104c..9f7c0c1 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -303,6 +303,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
,false,
"Variables that Provide Information");
cm->DefineProperty
+ ("CMAKE_XCODE_PLATFORM_TOOLSET", cmProperty::VARIABLE,
+ "Xcode compiler selection.",
+ "Xcode supports selection of a compiler from one of the installed "
+ "toolsets. "
+ "CMake provides the name of the chosen toolset in this variable, "
+ "if any is explicitly selected (e.g. via the cmake -T option)."
+ ,false,
+ "Variables that Provide Information");
+ cm->DefineProperty
("CMAKE_MINOR_VERSION", cmProperty::VARIABLE,
"The Minor version of cmake (i.e. the 4 in X.4.X).",
"This specifies the minor version of the CMake"