1CMAKE_XCODE_BUILD_SYSTEM
2------------------------
3
4.. versionadded:: 3.19
5
6Xcode build system selection.
7
8The :generator:`Xcode` generator defines this variable to indicate which
9variant of the Xcode build system will be used.  The value is the
10version of Xcode in which the corresponding build system first became
11mature enough for use by CMake.  The possible values are:
12
13``1``
14  The original Xcode build system.
15  This is the default when using Xcode 11.x or below.
16
17``12``
18  The Xcode "new build system" introduced by Xcode 10.
19  It became mature enough for use by CMake in Xcode 12.
20  This is the default when using Xcode 12.x or above.
21
22The ``CMAKE_XCODE_BUILD_SYSTEM`` variable is informational and should not
23be modified by project code.  See the :ref:`Xcode Build System Selection`
24documentation section to select the Xcode build system.
25