Good-build-macros-check.cmake 688 B

1234567891011121314
  1. include("${RunCMake_SOURCE_DIR}/TestVariable.cmake")
  2. if(RunCMake_GENERATOR STREQUAL "NMake Makefiles JOM")
  3. # JOM removes the '$' and content following it.
  4. else()
  5. test_environment_variable("TEST_DOLLAR" "x\\$x")
  6. endif()
  7. test_environment_variable("TEST_GENERATOR" "${RunCMake_GENERATOR}")
  8. test_environment_variable("TEST_PRESET_NAME" "xmacrosx")
  9. test_environment_variable("TEST_SOURCE_DIR_" "x[^\n]*[/\\\\]Tests[/\\\\]RunCMake[/\\\\]CMakePresetsBuild[/\\\\]Goodx")
  10. test_environment_variable("TEST_SOURCE_DIR_NAME" "xGoodx")
  11. test_environment_variable("TEST_SOURCE_PARENT_DIR" "x[^\n]*[/\\\\]Tests[/\\\\]RunCMake[/\\\\]CMakePresetsBuildx")
  12. include("${RunCMake_SOURCE_DIR}/check.cmake")