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).
Xcode
cmake(1)
-T
CMAKE_XCODE_BUILD_SYSTEM
<PROJECT-NAME>_BINARY_DIR