summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GeneratorToolset/TestToolsetXcodeBuildSystem1.cmake
blob: 550a6a1ebb908266c89f959bc7757c03634c0ae7 (plain)
1
2
3
4
5
6
7
8
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()