summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ConfigureFile-Relative.cmake
blob: 532580a21856389ae7f14f50ae8d805dec75d287 (plain)
1
2
3
4
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureFile-Relative-In.txt "Relative test file\n")
configure_file(ConfigureFile-Relative-In.txt ConfigureFile-Relative-Out.txt)
file(READ ${CMAKE_CURRENT_BINARY_DIR}/ConfigureFile-Relative-Out.txt out)
message("${out}")