You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/file/INSTALL-FILES_FROM_DIR.cmake

8 lines
351 B

set(src ${CMAKE_CURRENT_SOURCE_DIR}/from)
set(dst ${CMAKE_CURRENT_BINARY_DIR}/from)
file(REMOVE RECURSE ${dst})
message(STATUS "Before Installing")
file(INSTALL FILES a.txt a/b.txt a/b/c.txt FILES_FROM_DIR ${src} DESTINATION ${dst})
file(INSTALL FILES a.txt a/b.txt a/b/c.txt FILES_FROM_DIR from DESTINATION ${dst})
message(STATUS "After Installing")