blob: ac7a2cf4a3396d8a81fb72954324a8b963b9aadb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/old/dir)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/old/dir/file "")
file(CREATE_LINK dir ${CMAKE_CURRENT_BINARY_DIR}/old/lnk SYMBOLIC)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/old/dir DESTINATION dest)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/old/lnk DESTINATION dest)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/new/lnk)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/new/lnk/file "")
file(CREATE_LINK lnk ${CMAKE_CURRENT_BINARY_DIR}/new/dir SYMBOLIC)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/new/lnk DESTINATION dest)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/new/dir DESTINATION dest)
|