OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
cmake-3.10
/
Help
/
policy
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:00:25 AM
rwxr-xr-x
📄
CMP0000.rst
1.32 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0001.rst
807 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0002.rst
1.06 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0003.rst
3.41 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0004.rst
857 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0005.rst
1.18 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0006.rst
1.02 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0007.rst
658 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0008.rst
1.42 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0009.rst
860 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0010.rst
784 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0011.rst
1.11 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0012.rst
1.21 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0013.rst
916 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0014.rst
675 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0015.rst
843 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0016.rst
542 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0017.rst
952 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0018.rst
1.48 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0019.rst
889 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0020.rst
1.22 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0021.rst
799 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0022.rst
1.96 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0023.rst
1.39 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0024.rst
1022 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0025.rst
1.32 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0026.rst
1.19 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0027.rst
1.16 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0028.rst
1.13 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0029.rst
309 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0030.rst
335 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0031.rst
474 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0032.rst
528 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0033.rst
580 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0034.rst
392 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0035.rst
322 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0036.rst
437 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0037.rst
1.19 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0038.rst
659 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0039.rst
696 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0040.rst
857 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0041.rst
1.1 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0042.rst
833 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0043.rst
1.79 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0044.rst
885 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0045.rst
727 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0046.rst
636 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0047.rst
1.32 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0048.rst
1.03 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0049.rst
705 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0050.rst
720 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0051.rst
1.04 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0052.rst
1.06 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0053.rst
1.83 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0054.rst
1.29 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0055.rst
684 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0056.rst
1.57 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0057.rst
495 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0058.rst
4.9 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0059.rst
735 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0060.rst
3.51 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0061.rst
1018 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0062.rst
1.19 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0063.rst
1.3 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0064.rst
610 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0065.rst
1.15 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0066.rst
1.27 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0067.rst
1.51 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0068.rst
1.43 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0069.rst
2.91 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0070.rst
1.09 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
CMP0071.rst
1.5 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
DEPRECATED.txt
156 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
DISALLOWED_COMMAND.txt
443 bytes
01/18/2018 02:48:42 PM
rw-r--r--
Editing: CMP0069.rst
Close
CMP0069 ------- :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` is enforced when enabled. CMake 3.9 and newer prefer to add IPO flags whenever the :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` target property is enabled and produce an error if flags are not known to CMake for the current compiler. Since a given compiler may not support IPO flags in all environments in which it is used, it is now the project's responsibility to use the :module:`CheckIPOSupported` module to check for support before enabling the :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` target property. This approach allows a project to conditionally activate IPO when supported. It also allows an end user to set the :variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable in an environment known to support IPO even if the project does not enable the property. Since CMake 3.8 and lower only honored :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` for the Intel compiler on Linux, some projects may unconditionally enable the target property. Policy ``CMP0069`` provides compatibility with such projects. This policy takes effect whenever the IPO property is enabled. The ``OLD`` behavior for this policy is to add IPO flags only for Intel compiler on Linux. The ``NEW`` behavior for this policy is to add IPO flags for the current compiler or produce an error if CMake does not know the flags. This policy was introduced in CMake version 3.9. CMake version |release| warns when the policy is not set and uses ``OLD`` behavior. Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. .. include:: DEPRECATED.txt Examples ^^^^^^^^ Behave like CMake 3.8 and do not apply any IPO flags except for Intel compiler on Linux: .. code-block:: cmake cmake_minimum_required(VERSION 3.8) project(foo) # ... set_property(TARGET ... PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) Use the :module:`CheckIPOSupported` module to detect whether IPO is supported by the current compiler, environment, and CMake version. Produce a fatal error if support is not available: .. code-block:: cmake cmake_minimum_required(VERSION 3.9) # CMP0069 NEW project(foo) include(CheckIPOSupported) check_ipo_supported() # ... set_property(TARGET ... PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) Apply IPO flags only if compiler supports it: .. code-block:: cmake cmake_minimum_required(VERSION 3.9) # CMP0069 NEW project(foo) include(CheckIPOSupported) # ... check_ipo_supported(RESULT result) if(result) set_property(TARGET ... PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) endif() Apply IPO flags without any checks. This may lead to build errors if IPO is not supported by the compiler in the current environment. Produce an error if CMake does not know IPO flags for the current compiler: .. code-block:: cmake cmake_minimum_required(VERSION 3.9) # CMP0069 NEW project(foo) # ... set_property(TARGET ... PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)