OldForm_Script.cmake 460 B

12345678910111213
  1. load_cache(${RunCMake_BINARY_DIR}/test_project INCLUDE_INTERNALS CACHE_INTERNAL)
  2. if(NOT CACHE_STRING STREQUAL "cache string")
  3. message(FATAL_ERROR "CACHE_STRING: was ${CACHE_STRING}, expected \"cache string\"")
  4. endif()
  5. if(NOT CACHE_BOOL)
  6. message(FATAL_ERROR "CACHE_BOOL: was falsey, expected ON")
  7. endif()
  8. if(NOT CACHE_INTERNAL STREQUAL "cache internal")
  9. message(FATAL_ERROR "CACHE_INTERNAL: was ${CACHE_INTENRAL}, expected \"cache internal\"")
  10. endif()