SM0 She11
Path:
/
/
usr
/
share
/
cmake3
/
Help
/
policy
Full Path (server): /usr/share/cmake3/Help/policy
Create Fil3
Upl04d Fil3
📄 CMP0000.rst
[E]
[D]
[R]
📄 CMP0001.rst
[E]
[D]
[R]
📄 CMP0002.rst
[E]
[D]
[R]
📄 CMP0003.rst
[E]
[D]
[R]
📄 CMP0004.rst
[E]
[D]
[R]
📄 CMP0005.rst
[E]
[D]
[R]
📄 CMP0006.rst
[E]
[D]
[R]
📄 CMP0007.rst
[E]
[D]
[R]
📄 CMP0008.rst
[E]
[D]
[R]
📄 CMP0009.rst
[E]
[D]
[R]
📄 CMP0010.rst
[E]
[D]
[R]
📄 CMP0011.rst
[E]
[D]
[R]
📄 CMP0012.rst
[E]
[D]
[R]
📄 CMP0013.rst
[E]
[D]
[R]
📄 CMP0014.rst
[E]
[D]
[R]
📄 CMP0015.rst
[E]
[D]
[R]
📄 CMP0016.rst
[E]
[D]
[R]
📄 CMP0017.rst
[E]
[D]
[R]
📄 CMP0018.rst
[E]
[D]
[R]
📄 CMP0019.rst
[E]
[D]
[R]
📄 CMP0020.rst
[E]
[D]
[R]
📄 CMP0021.rst
[E]
[D]
[R]
📄 CMP0022.rst
[E]
[D]
[R]
📄 CMP0023.rst
[E]
[D]
[R]
📄 CMP0024.rst
[E]
[D]
[R]
📄 CMP0025.rst
[E]
[D]
[R]
📄 CMP0026.rst
[E]
[D]
[R]
📄 CMP0027.rst
[E]
[D]
[R]
📄 CMP0028.rst
[E]
[D]
[R]
📄 CMP0029.rst
[E]
[D]
[R]
📄 CMP0030.rst
[E]
[D]
[R]
📄 CMP0031.rst
[E]
[D]
[R]
📄 CMP0032.rst
[E]
[D]
[R]
📄 CMP0033.rst
[E]
[D]
[R]
📄 CMP0034.rst
[E]
[D]
[R]
📄 CMP0035.rst
[E]
[D]
[R]
📄 CMP0036.rst
[E]
[D]
[R]
📄 CMP0037.rst
[E]
[D]
[R]
📄 CMP0037.rst.rename
[E]
[D]
[R]
📄 CMP0038.rst
[E]
[D]
[R]
📄 CMP0039.rst
[E]
[D]
[R]
📄 CMP0040.rst
[E]
[D]
[R]
📄 CMP0041.rst
[E]
[D]
[R]
📄 CMP0042.rst
[E]
[D]
[R]
📄 CMP0043.rst
[E]
[D]
[R]
📄 CMP0043.rst.rename
[E]
[D]
[R]
📄 CMP0044.rst
[E]
[D]
[R]
📄 CMP0044.rst.rename
[E]
[D]
[R]
📄 CMP0045.rst
[E]
[D]
[R]
📄 CMP0046.rst
[E]
[D]
[R]
📄 CMP0047.rst
[E]
[D]
[R]
📄 CMP0048.rst
[E]
[D]
[R]
📄 CMP0049.rst
[E]
[D]
[R]
📄 CMP0050.rst
[E]
[D]
[R]
📄 CMP0051.rst
[E]
[D]
[R]
📄 CMP0051.rst.rename
[E]
[D]
[R]
📄 CMP0052.rst
[E]
[D]
[R]
📄 CMP0053.rst
[E]
[D]
[R]
📄 CMP0053.rst.rename
[E]
[D]
[R]
📄 CMP0054.rst
[E]
[D]
[R]
📄 CMP0055.rst
[E]
[D]
[R]
📄 CMP0056.rst
[E]
[D]
[R]
📄 CMP0057.rst
[E]
[D]
[R]
📄 CMP0058.rst
[E]
[D]
[R]
📄 CMP0059.rst
[E]
[D]
[R]
📄 CMP0060.rst
[E]
[D]
[R]
📄 CMP0061.rst
[E]
[D]
[R]
📄 CMP0062.rst
[E]
[D]
[R]
📄 CMP0063.rst
[E]
[D]
[R]
📄 CMP0064.rst
[E]
[D]
[R]
📄 CMP0065.rst
[E]
[D]
[R]
📄 CMP0066.rst
[E]
[D]
[R]
📄 CMP0067.rst
[E]
[D]
[R]
📄 CMP0068.rst
[E]
[D]
[R]
📄 CMP0069.rst
[E]
[D]
[R]
📄 CMP0070.rst
[E]
[D]
[R]
📄 CMP0071.rst
[E]
[D]
[R]
📄 CMP0072.rst
[E]
[D]
[R]
📄 CMP0073.rst
[E]
[D]
[R]
📄 CMP0074.rst
[E]
[D]
[R]
📄 CMP0075.rst
[E]
[D]
[R]
📄 CMP0076.rst
[E]
[D]
[R]
📄 CMP0077.rst
[E]
[D]
[R]
📄 CMP0078.rst
[E]
[D]
[R]
📄 CMP0079.rst
[E]
[D]
[R]
📄 CMP0080.rst
[E]
[D]
[R]
📄 CMP0081.rst
[E]
[D]
[R]
📄 CMP0082.rst
[E]
[D]
[R]
📄 CMP0083.rst
[E]
[D]
[R]
📄 CMP0084.rst
[E]
[D]
[R]
📄 CMP0085.rst
[E]
[D]
[R]
📄 CMP0086.rst
[E]
[D]
[R]
📄 CMP0087.rst
[E]
[D]
[R]
📄 CMP0088.rst
[E]
[D]
[R]
📄 CMP0089.rst
[E]
[D]
[R]
📄 CMP0090.rst
[E]
[D]
[R]
📄 CMP0091.rst
[E]
[D]
[R]
📄 CMP0092.rst
[E]
[D]
[R]
📄 CMP0093.rst
[E]
[D]
[R]
📄 CMP0094.rst
[E]
[D]
[R]
📄 CMP0095.rst
[E]
[D]
[R]
📄 CMP0096.rst
[E]
[D]
[R]
📄 CMP0097.rst
[E]
[D]
[R]
📄 CMP0098.rst
[E]
[D]
[R]
📄 CMP0099.rst
[E]
[D]
[R]
📄 CMP0100.rst
[E]
[D]
[R]
📄 CMP0101.rst
[E]
[D]
[R]
📄 CMP0102.rst
[E]
[D]
[R]
📄 DEPRECATED.txt
[E]
[D]
[R]
📄 DEPRECATED.txt.rename
[E]
[D]
[R]
📄 DISALLOWED_COMMAND.txt
[E]
[D]
[R]
Editing: CMP0083.rst
CMP0083 ------- To control generation of Position Independent Executable (``PIE``) or not, some flags are required at link time. CMake 3.13 and lower did not add these link flags when :prop_tgt:`POSITION_INDEPENDENT_CODE` is set. The ``OLD`` behavior for this policy is to not manage ``PIE`` link flags. The ``NEW`` behavior is to add link flags if :prop_tgt:`POSITION_INDEPENDENT_CODE` is set: * Set to ``TRUE``: flags to produce a position independent executable are passed to the linker step. For example ``-pie`` for ``GCC``. * Set to ``FALSE``: flags not to produce a position independent executable are passed to the linker step. For example ``-no-pie`` for ``GCC``. * Not set: no flags are passed to the linker step. Since a given linker may not support ``PIE`` flags in all environments in which it is used, it is the project's responsibility to use the :module:`CheckPIESupported` module to check for support to ensure that the :prop_tgt:`POSITION_INDEPENDENT_CODE` target property for executables will be honored at link time. This policy was introduced in CMake version 3.14. Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. Unlike most policies, CMake version |release| does not warn when this policy is not set and simply uses ``OLD`` behavior. .. Note:: Android platform has a special handling of ``PIE`` so it is not required to use the :module:`CheckPIESupported` module to ensure flags are passed to the linker. .. include:: DEPRECATED.txt Examples ^^^^^^^^ Behave like CMake 3.13 and do not apply any ``PIE`` flags at link stage. .. code-block:: cmake cmake_minimum_required(VERSION 3.13) project(foo) # ... add_executable(foo ...) set_property(TARGET foo PROPERTY POSITION_INDEPENDENT_CODE TRUE) Use the :module:`CheckPIESupported` module to detect whether ``PIE`` is supported by the current linker and environment. Apply ``PIE`` flags only if the linker supports them. .. code-block:: cmake cmake_minimum_required(VERSION 3.14) # CMP0083 NEW project(foo) include(CheckPIESupported) check_pie_supported() # ... add_executable(foo ...) set_property(TARGET foo PROPERTY POSITION_INDEPENDENT_CODE TRUE)
Save