summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorMichael Scott <michael.scott250@gmail.com>2015-11-08 12:59:27 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-01 14:35:53 (GMT)
commit246b0bfbfda9a8f3091fc34fc92816aebaf60ae9 (patch)
tree50d689da4b5cb9993b98466cbebb8577b8bc8376 /Tests/RunCMake/CommandLine/RunCMakeTest.cmake
parentdeec3a3f06d341cfe0bef4e856b263eff347cc72 (diff)
downloadCMake-246b0bfbfda9a8f3091fc34fc92816aebaf60ae9.zip
CMake-246b0bfbfda9a8f3091fc34fc92816aebaf60ae9.tar.gz
CMake-246b0bfbfda9a8f3091fc34fc92816aebaf60ae9.tar.bz2
Explicitly enable author (dev) warnings by default.
Explicitly enable author warnings by default, via the cmake::GetSuppressDevWarnings method, which signals suppression is turned off unless the CMake variables are set as required. Add test cases for author and deprecated messages displayed by default.
Diffstat (limited to 'Tests/RunCMake/CommandLine/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CommandLine/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
index 2d94e29..8eaaa08 100644
--- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -133,6 +133,9 @@ set(RunCMake_TEST_OPTIONS -Wno-dev -Wdev)
run_cmake(Wdev)
unset(RunCMake_TEST_OPTIONS)
+# Dev warnings should be on by default
+run_cmake(Wdev)
+
set(RunCMake_TEST_OPTIONS --debug-output)
run_cmake(debug-output)
unset(RunCMake_TEST_OPTIONS)