summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/INSTALL-MESSAGE-bad.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-MESSAGE-bad.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-MESSAGE-bad.cmake')
-rw-r--r--Tests/RunCMake/file/INSTALL-MESSAGE-bad.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/INSTALL-MESSAGE-bad.cmake b/Tests/RunCMake/file/INSTALL-MESSAGE-bad.cmake
new file mode 100644
index 0000000..f878c69
--- /dev/null
+++ b/Tests/RunCMake/file/INSTALL-MESSAGE-bad.cmake
@@ -0,0 +1,6 @@
+file(INSTALL DESTINATION dir MESSAGE_ALWAYS MESSAGE_LAZY)
+file(INSTALL DESTINATION dir MESSAGE_ALWAYS MESSAGE_NEVER)
+file(INSTALL DESTINATION dir MESSAGE_LAZY MESSAGE_NEVER)
+file(INSTALL DESTINATION dir PATTERN *.txt MESSAGE_ALWAYS)
+file(INSTALL DESTINATION dir PATTERN *.txt MESSAGE_LAZY)
+file(INSTALL DESTINATION dir PATTERN *.txt MESSAGE_NEVER)