summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst')
-rw-r--r--share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst b/share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst
new file mode 100644
index 0000000..4a224fa
--- /dev/null
+++ b/share/cmake-3.17/Help/variable/CMAKE_WARN_DEPRECATED.rst
@@ -0,0 +1,10 @@
+CMAKE_WARN_DEPRECATED
+---------------------
+
+Whether to issue warnings for deprecated functionality.
+
+If not ``FALSE``, use of deprecated functionality will issue warnings.
+If this variable is not set, CMake behaves as if it were set to ``TRUE``.
+
+When running :manual:`cmake(1)`, this option can be enabled with the
+``-Wdeprecated`` option, or disabled with the ``-Wno-deprecated`` option.