summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0025.rst
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-26 15:13:41 (GMT)
committerBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-27 15:01:20 (GMT)
commit07f3082d3b52f1bcba8dd4ef82b3e02c362b392e (patch)
tree36eb4256e37351a30273b3852c2d799c0e2e2e03 /Help/policy/CMP0025.rst
parentdb20cb2f9f2ff1d00593e0fc921184d99f58749a (diff)
downloadCMake-07f3082d3b52f1bcba8dd4ef82b3e02c362b392e.zip
CMake-07f3082d3b52f1bcba8dd4ef82b3e02c362b392e.tar.gz
CMake-07f3082d3b52f1bcba8dd4ef82b3e02c362b392e.tar.bz2
Help: Improve documentation links and formatting
Diffstat (limited to 'Help/policy/CMP0025.rst')
-rw-r--r--Help/policy/CMP0025.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/policy/CMP0025.rst b/Help/policy/CMP0025.rst
index 62dd509..ba5e1e9 100644
--- a/Help/policy/CMP0025.rst
+++ b/Help/policy/CMP0025.rst
@@ -15,13 +15,13 @@ language ``<LANG>`` is enabled by the :command:`project` or
:command:`enable_language` command. The policy must be set prior
to the invocation of either command.
-The OLD behavior for this policy is to use compiler id ``Clang``. The
-NEW behavior for this policy is to use compiler id ``AppleClang``.
+The ``OLD`` behavior for this policy is to use compiler id ``Clang``. The
+``NEW`` behavior for this policy is to use compiler id ``AppleClang``.
This policy was introduced in CMake version 3.0. Use the
-:command:`cmake_policy` command to set this policy to OLD or NEW explicitly.
-Unlike most policies, CMake version |release| does *not* warn
-by default when this policy is not set and simply uses OLD behavior.
+:command:`cmake_policy` command to set this policy to ``OLD`` or ``NEW``
+explicitly. Unlike most policies, CMake version |release| does *not* warn
+by default when this policy is not set and simply uses ``OLD`` behavior.
See documentation of the
:variable:`CMAKE_POLICY_WARNING_CMP0025 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
variable to control the warning.