mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
10 lines
311 B
CMake
10 lines
311 B
CMake
file(GLOB_RECURSE FILES RELATIVE "${CMAKE_ROOT}" "${CMAKE_ROOT}/Modules/*")
|
|
|
|
add_custom_command(
|
|
OUTPUT ${FILES}
|
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_ROOT}/Modules" "${CMAKE_CURRENT_BINARY_DIR}/Modules"
|
|
COMMENT "Short message"
|
|
)
|
|
|
|
add_custom_target(LotsOutputs ALL DEPENDS ${FILES})
|