summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/Wno-dev.cmake
diff options
context:
space:
mode:
authorMichael Scott <michael.scott250@gmail.com>2015-09-22 21:43:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-25 20:21:17 (GMT)
commitbc3e1e4b5586c4404591e5f01461376eb51391d1 (patch)
treeeb4896e2276dcf0fe43fabf17c49d15d1914ed8f /Tests/RunCMake/CommandLine/Wno-dev.cmake
parent414cc18a9a76e78b586edbd6eb34cc0060cae796 (diff)
downloadCMake-bc3e1e4b5586c4404591e5f01461376eb51391d1.zip
CMake-bc3e1e4b5586c4404591e5f01461376eb51391d1.tar.gz
CMake-bc3e1e4b5586c4404591e5f01461376eb51391d1.tar.bz2
Tests: Add case for -Wdev and -Wno-dev with non-message() warnings (#15747)
Diffstat (limited to 'Tests/RunCMake/CommandLine/Wno-dev.cmake')
-rw-r--r--Tests/RunCMake/CommandLine/Wno-dev.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/Wno-dev.cmake b/Tests/RunCMake/CommandLine/Wno-dev.cmake
index 0242086..d81b858 100644
--- a/Tests/RunCMake/CommandLine/Wno-dev.cmake
+++ b/Tests/RunCMake/CommandLine/Wno-dev.cmake
@@ -1 +1,6 @@
message(AUTHOR_WARNING "Some Author Warning")
+
+# without -Wno-dev this will also cause an AUTHOR_WARNING message, checks that
+# messages issued outside of the message command, by other CMake commands, also
+# are affected by -Wno-dev
+include("")