summaryrefslogtreecommitdiff
path: root/Help/policy/CMP0004.rst
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-26 16:13:41 +0100
committerBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-27 16:01:20 +0100
commit07f3082d3b52f1bcba8dd4ef82b3e02c362b392e (patch)
tree36eb4256e37351a30273b3852c2d799c0e2e2e03 /Help/policy/CMP0004.rst
parentdb20cb2f9f2ff1d00593e0fc921184d99f58749a (diff)
downloadcmake-07f3082d3b52f1bcba8dd4ef82b3e02c362b392e.tar.gz
Help: Improve documentation links and formatting
Diffstat (limited to 'Help/policy/CMP0004.rst')
-rw-r--r--Help/policy/CMP0004.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Help/policy/CMP0004.rst b/Help/policy/CMP0004.rst
index 55da4d2931..be6d3079b6 100644
--- a/Help/policy/CMP0004.rst
+++ b/Help/policy/CMP0004.rst
@@ -12,14 +12,15 @@ whitespace from libraries linked with code like
This could lead to subtle errors in user projects.
-The OLD behavior for this policy is to silently remove leading and
-trailing whitespace. The NEW behavior for this policy is to diagnose
+The ``OLD`` behavior for this policy is to silently remove leading and
+trailing whitespace. The ``NEW`` behavior for this policy is to diagnose
the existence of such whitespace as an error. The setting for this
policy used when checking the library names is that in effect when the
-target is created by an add_executable or add_library command.
+target is created by an :command:`add_executable` or :command:`add_library`
+command.
This policy was introduced in CMake version 2.6.0. CMake version
-|release| warns when the policy is not set and uses OLD behavior. Use
-the cmake_policy command to set it to OLD or NEW explicitly.
+|release| warns when the policy is not set and uses ``OLD`` behavior. Use
+the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
.. include:: DEPRECATED.txt