https://github.com/Kitware/CMake
Raw File
Tip revision: fab7fe7ef5a5462952297611c1dd668a603e3a36 authored by Brad King on 17 March 2021, 14:16:33 UTC
CMake 3.20.0-rc5
Tip revision: fab7fe7
TestToolsetXcodeBuildSystem1.cmake
message(STATUS "CMAKE_XCODE_BUILD_SYSTEM='${CMAKE_XCODE_BUILD_SYSTEM}'")
if(CMAKE_GENERATOR_TOOLSET STREQUAL "Test Toolset,buildsystem=1")
  message(FATAL_ERROR "CMAKE_GENERATOR_TOOLSET is \"Test Toolset,buildsystem=1\" as expected.")
else()
  message(FATAL_ERROR
    "CMAKE_GENERATOR_TOOLSET is \"${CMAKE_GENERATOR_TOOLSET}\" "
    "but should be \"Test Toolset,buildsystem=1\"!")
endif()
back to top