CMAKE_XCODE_PLATFORM_TOOLSET

From Get docs
Cmake/docs/3.21/variable/cmake xcode platform toolset


CMAKE_XCODE_PLATFORM_TOOLSET

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(1) -T option).

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