diff options
author | Michael Scott <michael.scott250@gmail.com> | 2015-11-08 12:59:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-01 14:35:53 (GMT) |
commit | 246b0bfbfda9a8f3091fc34fc92816aebaf60ae9 (patch) | |
tree | 50d689da4b5cb9993b98466cbebb8577b8bc8376 /Tests/RunCMake/CommandLine/RunCMakeTest.cmake | |
parent | deec3a3f06d341cfe0bef4e856b263eff347cc72 (diff) | |
download | CMake-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.cmake | 3 |
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) |