RunCMakeTest.cmake 374 B

123456789101112
  1. include(RunCMake)
  2. if(RunCMake_GENERATOR_IS_MULTI_CONFIG)
  3. set(RunCMake_TEST_OPTIONS -DCMAKE_CONFIGURATION_TYPES=Debug)
  4. else()
  5. set(RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Debug)
  6. endif()
  7. run_cmake_with_options(BeforeProject -DCMAKE_PROJECT_INCLUDE_BEFORE=BeforeProjectBEFORE.cmake)
  8. run_cmake(CustomCompileRule)
  9. run_cmake(Properties)
  10. run_cmake(PropertiesGenerateCommand)