CMake/Tests/RunCMake/configure_file/Relative.cmake

4 lines
127 B
CMake

configure_file(Relative-In.txt Relative-Out.txt)
file(READ ${CMAKE_CURRENT_BINARY_DIR}/Relative-Out.txt out)
message("${out}")