diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2015-08-14 15:48:54 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2015-08-14 15:48:54 (GMT) |
commit | 7f0b83e0185f4e131110a61d898cec4a96bd9a7d (patch) | |
tree | 8c98e6309ef3ddd7d49867ba831e5863ea899d39 /Help | |
parent | fb77c2c54bc341e76a83f646e6d75662c44179fc (diff) | |
download | CMake-7f0b83e0185f4e131110a61d898cec4a96bd9a7d.zip CMake-7f0b83e0185f4e131110a61d898cec4a96bd9a7d.tar.gz CMake-7f0b83e0185f4e131110a61d898cec4a96bd9a7d.tar.bz2 |
try_compile: Update documentation for other propagated variables
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/try_compile.rst | 4 | ||||
-rw-r--r-- | Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index 23c26ad..1ed24df 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -102,6 +102,10 @@ default values: * :variable:`CMAKE_LINK_SEARCH_START_STATIC` * :variable:`CMAKE_LINK_SEARCH_END_STATIC` +* :variable:`CMAKE_POSITION_INDEPENDENT_CODE` + +If :policy:`CMP0056` is set to ``NEW``, then +:variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well. Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose a build configuration. diff --git a/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst b/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst index 5e71665..43b1397 100644 --- a/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst +++ b/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst @@ -1,8 +1,9 @@ CMAKE_POSITION_INDEPENDENT_CODE ------------------------------- -Default value for POSITION_INDEPENDENT_CODE of targets. +Default value for :prop_tgt:`POSITION_INDEPENDENT_CODE` of targets. -This variable is used to initialize the POSITION_INDEPENDENT_CODE -property on all the targets. See that target property for additional -information. +This variable is used to initialize the +:prop_tgt:`POSITION_INDEPENDENT_CODE` property on all the targets. +See that target property for additional information. If set, it's +value is also used by the :command:`try_compile` command. |