summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst')
-rwxr-xr-xshare/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/share/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst b/share/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
new file mode 100755
index 0000000..582f9e4
--- /dev/null
+++ b/share/cmake-3.5/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
@@ -0,0 +1,23 @@
+CMAKE_POLICY_WARNING_CMP<NNNN>
+------------------------------
+
+Explicitly enable or disable the warning when CMake Policy ``CMP<NNNN>``
+is not set. This is meaningful only for the few policies that do not
+warn by default:
+
+* ``CMAKE_POLICY_WARNING_CMP0025`` controls the warning for
+ policy :policy:`CMP0025`.
+* ``CMAKE_POLICY_WARNING_CMP0047`` controls the warning for
+ policy :policy:`CMP0047`.
+* ``CMAKE_POLICY_WARNING_CMP0056`` controls the warning for
+ policy :policy:`CMP0056`.
+* ``CMAKE_POLICY_WARNING_CMP0060`` controls the warning for
+ policy :policy:`CMP0060`.
+* ``CMAKE_POLICY_WARNING_CMP0065`` controls the warning for
+ policy :policy:`CMP0065`.
+
+This variable should not be set by a project in CMake code. Project
+developers running CMake may set this variable in their cache to
+enable the warning (e.g. ``-DCMAKE_POLICY_WARNING_CMP<NNNN>=ON``).
+Alternatively, running :manual:`cmake(1)` with the ``--debug-output``,
+``--trace``, or ``--trace-expand`` option will also enable the warning.