cmake/Tests/RunCMake/file/COPY_FILE-output-missing.cmake

5 lines
184 B
CMake
Raw Normal View History

2023-05-23 16:38:00 +02:00
set(oldname "${CMAKE_CURRENT_BINARY_DIR}/input")
set(newname "${CMAKE_CURRENT_BINARY_DIR}/output-missing/output")
file(WRITE "${oldname}" "")
file(COPY_FILE "${oldname}" "${newname}")