summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/MessageTestScript.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-06 15:04:06 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-06 15:04:06 (GMT)
commitca3b93d9c6a816afd7a07bf218c8884510219cf4 (patch)
treef88d3af0bdb2bb57b17cb737e762901317593dd4 /Tests/CMakeTests/MessageTestScript.cmake
parent62702551dbf77632f566c92aa2c2555f23fe1557 (diff)
downloadCMake-ca3b93d9c6a816afd7a07bf218c8884510219cf4.zip
CMake-ca3b93d9c6a816afd7a07bf218c8884510219cf4.tar.gz
CMake-ca3b93d9c6a816afd7a07bf218c8884510219cf4.tar.bz2
ENH: Teach message() how to display warnings
This adds message(WARNING) and message(AUTHOR_WARNING) command modes and fully documents the command behavior in all modes.
Diffstat (limited to 'Tests/CMakeTests/MessageTestScript.cmake')
-rw-r--r--Tests/CMakeTests/MessageTestScript.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeTests/MessageTestScript.cmake b/Tests/CMakeTests/MessageTestScript.cmake
new file mode 100644
index 0000000..c56f88e
--- /dev/null
+++ b/Tests/CMakeTests/MessageTestScript.cmake
@@ -0,0 +1,4 @@
+message("message-default")
+message(STATUS "message-status")
+message(WARNING "message-warning")
+message(AUTHOR_WARNING "message-author")