summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/INSTALL-MESSAGE-bad-stderr.txt
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-stderr.txt
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-stderr.txt')
-rw-r--r--Tests/RunCMake/file/INSTALL-MESSAGE-bad-stderr.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/INSTALL-MESSAGE-bad-stderr.txt b/Tests/RunCMake/file/INSTALL-MESSAGE-bad-stderr.txt
new file mode 100644
index 0000000..557b817
--- /dev/null
+++ b/Tests/RunCMake/file/INSTALL-MESSAGE-bad-stderr.txt
@@ -0,0 +1,32 @@
+CMake Error at INSTALL-MESSAGE-bad.cmake:1 \(file\):
+ file INSTALL options MESSAGE_ALWAYS, MESSAGE_LAZY, and MESSAGE_NEVER are
+ mutually exclusive.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at INSTALL-MESSAGE-bad.cmake:2 \(file\):
+ file INSTALL options MESSAGE_ALWAYS, MESSAGE_LAZY, and MESSAGE_NEVER are
+ mutually exclusive.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at INSTALL-MESSAGE-bad.cmake:3 \(file\):
+ file INSTALL options MESSAGE_ALWAYS, MESSAGE_LAZY, and MESSAGE_NEVER are
+ mutually exclusive.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at INSTALL-MESSAGE-bad.cmake:4 \(file\):
+ file option MESSAGE_ALWAYS may not appear after PATTERN or REGEX.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at INSTALL-MESSAGE-bad.cmake:5 \(file\):
+ file option MESSAGE_LAZY may not appear after PATTERN or REGEX.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at INSTALL-MESSAGE-bad.cmake:6 \(file\):
+ file option MESSAGE_NEVER may not appear after PATTERN or REGEX.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)