summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst')
-rw-r--r--Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
new file mode 100644
index 0000000..1202447
--- /dev/null
+++ b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
@@ -0,0 +1,11 @@
+POSITION_INDEPENDENT_CODE
+-------------------------
+
+Whether to create a position-independent target
+
+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.