summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-14 15:52:31 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-18 16:49:17 (GMT)
commit2db623f554d5522350214a7c5bacd5ec2dec1b34 (patch)
tree27da28d96274f726e195d216199fd949005a0930 /Help/variable
parent3ab18c870dc00499f33a40a193e95cc4e1df54ba (diff)
downloadCMake-2db623f554d5522350214a7c5bacd5ec2dec1b34.zip
CMake-2db623f554d5522350214a7c5bacd5ec2dec1b34.tar.gz
CMake-2db623f554d5522350214a7c5bacd5ec2dec1b34.tar.bz2
Xcode: Add option to specify build system variant
Extend the `-T <toolset>` option to support a `buildsystem=` field with the Xcode generator. Add a `CMAKE_XCODE_BUILD_SYSTEM` variable to inform project code about the selected build system variant.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_XCODE_BUILD_SYSTEM.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_XCODE_BUILD_SYSTEM.rst b/Help/variable/CMAKE_XCODE_BUILD_SYSTEM.rst
new file mode 100644
index 0000000..8696bbf
--- /dev/null
+++ b/Help/variable/CMAKE_XCODE_BUILD_SYSTEM.rst
@@ -0,0 +1,17 @@
+CMAKE_XCODE_BUILD_SYSTEM
+------------------------
+
+Xcode build system selection.
+
+The :generator:`Xcode` generator defines this variable to indicate which
+variant of the Xcode build system will be used. The value is the
+version of Xcode in which the corresponding build system first became
+mature enough for use by CMake. The possible values are:
+
+``1``
+ The original Xcode build system.
+ This is the default.
+
+The ``CMAKE_XCODE_BUILD_SYSTEM`` variable is informational and should not
+be modified by project code. See the :ref:`Xcode Build System Selection`
+documentation section to select the Xcode build system.