summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ConfigureFile-DirOutput.cmake
blob: d682a2d8556066c5b449d1f2df7ea51383c766cc (plain)
1
2
3
4
5
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}")