cmake/Tests/FortranOnly/checktestf2.cmake
2012-02-18 12:40:36 +02:00

9 lines
204 B
CMake

file(READ testfhello.txt IN)
message("${IN}")
if(IN MATCHES Hello AND IN MATCHES World)
message("Passed")
else()
message(FATAL_ERROR "Hello world not found")
endif()
file(WRITE testfhello2.txt ${IN})