summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/COPY_FILE-output-missing.cmake
blob: 22133e73c268fe982c3eee83d4f9175ec7ad6a20 (plain)
1
2
3
4
set(oldname "${CMAKE_CURRENT_BINARY_DIR}/input")
set(newname "${CMAKE_CURRENT_BINARY_DIR}/output-missing/output")
file(WRITE "${oldname}" "")
file(COPY_FILE "${oldname}" "${newname}")