mirror of
https://github.com/reactos/CMake.git
synced 2024-12-07 03:18:50 +00:00
229b67a249
This test checks that configure_file() handles input and output file arguments as documented.
5 lines
262 B
CMake
5 lines
262 B
CMake
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}")
|