summaryrefslogtreecommitdiff
path: root/Help/manual/OPTIONS_BUILD.txt
diff options
context:
space:
mode:
authorMichael Scott <michael.scott250@gmail.com>2015-11-08 23:06:33 +0000
committerBrad King <brad.king@kitware.com>2015-12-01 10:21:57 -0500
commitda688bcb3b7edc1da19fc8b89e2425f40d3fa7f1 (patch)
tree397299652bf5da60e7b27577516ecd7d8d3dfe5b /Help/manual/OPTIONS_BUILD.txt
parent07388f83b69739116c8364e9443f10158fcdc912 (diff)
downloadcmake-da688bcb3b7edc1da19fc8b89e2425f40d3fa7f1.tar.gz
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.
Diffstat (limited to 'Help/manual/OPTIONS_BUILD.txt')
-rw-r--r--Help/manual/OPTIONS_BUILD.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt
index 4207db406f..eec138cd08 100644
--- a/Help/manual/OPTIONS_BUILD.txt
+++ b/Help/manual/OPTIONS_BUILD.txt
@@ -84,3 +84,15 @@
Enable warnings that are meant for the author of the CMakeLists.txt
files.
+
+``-Wdeprecated``
+ Enable deprecated functionality warnings.
+
+ Enable warnings for usage of deprecated functionality, that are meant
+ for the author of the CMakeLists.txt files.
+
+``-Wno-deprecated``
+ Suppress deprecated functionality warnings.
+
+ Suppress warnings for usage of deprecated functionality, that are meant
+ for the author of the CMakeLists.txt files.