diff options
Diffstat (limited to 'share/cmake-3.5/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst')
-rwxr-xr-x | share/cmake-3.5/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/share/cmake-3.5/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst b/share/cmake-3.5/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst new file mode 100755 index 0000000..ea700df --- /dev/null +++ b/share/cmake-3.5/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst @@ -0,0 +1,16 @@ +INTERFACE_POSITION_INDEPENDENT_CODE +----------------------------------- + +Whether consumers need to create a position-independent target + +The ``INTERFACE_POSITION_INDEPENDENT_CODE`` property informs consumers of +this target whether they must set their +:prop_tgt:`POSITION_INDEPENDENT_CODE` property to ``ON``. If this +property is set to ``ON``, then the :prop_tgt:`POSITION_INDEPENDENT_CODE` +property on all consumers will be set to ``ON``. Similarly, if this +property is set to ``OFF``, then the :prop_tgt:`POSITION_INDEPENDENT_CODE` +property on all consumers will be set to ``OFF``. If this property is +undefined, then consumers will determine their +:prop_tgt:`POSITION_INDEPENDENT_CODE` property by other means. Consumers +must ensure that the targets that they link to have a consistent +requirement for their ``INTERFACE_POSITION_INDEPENDENT_CODE`` property. |