cmake/Tests/FortranOnly/checksayhello.cmake

8 lines
163 B
CMake
Raw Normal View History

2012-02-18 12:40:36 +02:00
file(READ out.txt IN)
message("${IN}")
if(IN MATCHES Hello AND IN MATCHES World)
message("Passed")
else()
message(FATAL_ERROR "Hello world not found")
endif()