blob: a56b4e75e3db32035bd5bb2a18fb4c70cd0b82b6 (
plain)
1
2
3
4
5
|
set(oldname "${CMAKE_CURRENT_BINARY_DIR}/input")
set(newname "${CMAKE_CURRENT_BINARY_DIR}/output")
file(WRITE "${oldname}" "")
file(MAKE_DIRECTORY "${newname}")
file(COPY_FILE "${oldname}" "${newname}" ONLY_IF_DIFFERENT)
|