mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +00:00
229b67a249
This test checks that configure_file() handles input and output file arguments as documented.
6 lines
346 B
CMake
6 lines
346 B
CMake
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureFile-DirOutput.txt "DirOutput test file\n")
|
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ConfigureFile-DirOutput)
|
|
configure_file(ConfigureFile-DirOutput.txt ConfigureFile-DirOutput)
|
|
file(READ ${CMAKE_CURRENT_BINARY_DIR}/ConfigureFile-DirOutput/ConfigureFile-DirOutput.txt out)
|
|
message("${out}")
|