Add -W options to control deprecated warning messages.

Add 'deprecated' warning options type, to allow setting
CMAKE_WARN_DEPRECATED via the -W '-Wdeprecated' and
'-Wno-deprecated' options.

Add tests for new options and updated documentation.
This commit is contained in:
Michael Scott
2015-11-08 23:06:33 +00:00
committed by Brad King
parent 07388f83b6
commit da688bcb3b
9 changed files with 60 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
cmake-W-options
---------------
* The :variable:`CMAKE_WARN_DEPRECATED` variable can now be set using the
``-Wdeprecated`` and ``-Wno-deprecated`` :manual:`cmake(1)` options.