Xcode: Switch to the "new build system" for Xcode 12 and above

Provide an option to switch back to the original build system via
`-T buildsystem=1`.

Fixes: #18088
This commit is contained in:
Brad King
2020-09-14 15:02:47 -04:00
parent 2db623f554
commit 8d5f4c4db9
26 changed files with 423 additions and 31 deletions

View File

@@ -10,7 +10,12 @@ mature enough for use by CMake. The possible values are:
``1``
The original Xcode build system.
This is the default.
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 :ref:`Xcode Build System Selection`