summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/INSTALL-DIRECTORY.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-24 15:42:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-24 17:11:45 (GMT)
commitabebcd235c94e05a20003430981a1b46b0fb7f95 (patch)
treec2ae34e12157047ce2ab8f0e2c16dc4f5c3610d1 /Tests/RunCMake/file/INSTALL-DIRECTORY.cmake
parent464567a577555659610b2a26f9c1733d672583de (diff)
downloadCMake-abebcd235c94e05a20003430981a1b46b0fb7f95.zip
CMake-abebcd235c94e05a20003430981a1b46b0fb7f95.tar.gz
CMake-abebcd235c94e05a20003430981a1b46b0fb7f95.tar.bz2
file(INSTALL): Add undocumented options to control output verbosity
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.
Diffstat (limited to 'Tests/RunCMake/file/INSTALL-DIRECTORY.cmake')
-rw-r--r--Tests/RunCMake/file/INSTALL-DIRECTORY.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/INSTALL-DIRECTORY.cmake b/Tests/RunCMake/file/INSTALL-DIRECTORY.cmake
index 8bcb077..0bc1d18 100644
--- a/Tests/RunCMake/file/INSTALL-DIRECTORY.cmake
+++ b/Tests/RunCMake/file/INSTALL-DIRECTORY.cmake
@@ -4,4 +4,7 @@ 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")