TestToolsetXcodeBuildSystem1.cmake 390 B

12345678
  1. message(STATUS "CMAKE_XCODE_BUILD_SYSTEM='${CMAKE_XCODE_BUILD_SYSTEM}'")
  2. if(CMAKE_GENERATOR_TOOLSET STREQUAL "Test Toolset,buildsystem=1")
  3. message(FATAL_ERROR "CMAKE_GENERATOR_TOOLSET is \"Test Toolset,buildsystem=1\" as expected.")
  4. else()
  5. message(FATAL_ERROR
  6. "CMAKE_GENERATOR_TOOLSET is \"${CMAKE_GENERATOR_TOOLSET}\" "
  7. "but should be \"Test Toolset,buildsystem=1\"!")
  8. endif()