summaryrefslogtreecommitdiff
path: root/Tests/FortranOnly/checktestf2.cmake
blob: f0e6be329121cd360e899df64a58c16f7172169a (plain)
1
2
3
4
5
6
7
8
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})