CMAKE_XCODE_BUILD_SYSTEM

From Get docs
Cmake/docs/3.21/variable/cmake xcode build system


CMAKE_XCODE_BUILD_SYSTEM

New in version 3.19.


Xcode build system selection.

The 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 when using Xcode 11.x or below.
12
The Xcode "new build system" introduced by Xcode 10. It became mature enough for use by CMake in Xcode 12. This is the default when using Xcode 12.x or above.

The CMAKE_XCODE_BUILD_SYSTEM variable is informational and should not be modified by project code. See the Toolset and Build System Selection documentation section to select the Xcode build system.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_XCODE_BUILD_SYSTEM.html