summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-05 13:51:08 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-06 21:15:53 (GMT)
commit3879c847825d40a439b0ec55421309ab9b33c1ee (patch)
tree42f3d3b7a615b5aed7e253c7468bfd8c8369fabf /Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
parentba4c2fa8fd2a03f7d69e60d581d44a3cc79a3c9a (diff)
downloadCMake-3879c847825d40a439b0ec55421309ab9b33c1ee.zip
CMake-3879c847825d40a439b0ec55421309ab9b33c1ee.tar.gz
CMake-3879c847825d40a439b0ec55421309ab9b33c1ee.tar.bz2
Help: Document relation of properties to the rest of the buildsystem.
Diffstat (limited to 'Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst')
-rw-r--r--Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
index 1202447..54af8c6 100644
--- a/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
+++ b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
@@ -3,9 +3,9 @@ POSITION_INDEPENDENT_CODE
Whether to create a position-independent target
-The POSITION_INDEPENDENT_CODE property determines whether position
+The ``POSITION_INDEPENDENT_CODE`` property determines whether position
independent executables or shared libraries will be created. This
-property is true by default for SHARED and MODULE library targets and
-false otherwise. This property is initialized by the value of the
-variable CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is
-created.
+property is ``True`` by default for ``SHARED`` and ``MODULE`` library
+targets and ``False`` otherwise. This property is initialized by the value
+of the :variable:`CMAKE_POSITION_INDEPENDENT_CODE` variable if it is set
+when a target is created.