checksayhello.cmake 163 B

1234567
  1. file(READ out.txt IN)
  2. message("${IN}")
  3. if(IN MATCHES Hello AND IN MATCHES World)
  4. message("Passed")
  5. else()
  6. message(FATAL_ERROR "Hello world not found")
  7. endif()