mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
abebcd235c
Create options "MESSAGE_ALWAYS", "MESSAGE_LAZY", and "MESSAGE_NEVER" to specify whether to print the "Installing" and "Up-to-date" messages. Extend the RunCMake.file test with cases covering these options.
11 lines
533 B
CMake
11 lines
533 B
CMake
set(src ${CMAKE_CURRENT_SOURCE_DIR}/dir)
|
|
set(dst ${CMAKE_CURRENT_BINARY_DIR}/dir)
|
|
file(REMOVE RECURSE ${dst})
|
|
message(STATUS "Before Installing")
|
|
file(INSTALL FILES ${src}/ DESTINATION ${dst} TYPE DIRECTORY)
|
|
file(INSTALL FILES ${src}/ DESTINATION ${dst} TYPE DIRECTORY)
|
|
file(INSTALL FILES ${src}/ DESTINATION ${dst} TYPE DIRECTORY MESSAGE_NEVER)
|
|
file(INSTALL FILES ${src}/ DESTINATION ${dst} TYPE DIRECTORY MESSAGE_LAZY)
|
|
file(INSTALL FILES ${src}/ DESTINATION ${dst} TYPE DIRECTORY MESSAGE_ALWAYS)
|
|
message(STATUS "After Installing")
|