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: CMP0060.rst
Close
CMP0060 ------- Link libraries by full path even in implicit directories. Policy :policy:`CMP0003` was introduced with the intention of always linking library files by full path when a full path is given to the :command:`target_link_libraries` command. However, on some platforms (e.g. HP-UX) the compiler front-end adds alternative library search paths for the current architecture (e.g. ``/usr/lib/<arch>`` has alternatives to libraries in ``/usr/lib`` for the current architecture). On such platforms the :command:`find_library` may find a library such as ``/usr/lib/libfoo.so`` that does not belong to the current architecture. Prior to policy :policy:`CMP0003` projects would still build in such cases because the incorrect library path would be converted to ``-lfoo`` on the link line and the linker would find the proper library in the arch-specific search path provided by the compiler front-end implicitly. At the time we chose to remain compatible with such projects by always converting library files found in implicit link directories to ``-lfoo`` flags to ask the linker to search for them. This approach allowed existing projects to continue to build while still linking to libraries outside implicit link directories via full path (such as those in the build tree). CMake does allow projects to override this behavior by using an :ref:`IMPORTED library target <Imported Targets>` with its :prop_tgt:`IMPORTED_LOCATION` property set to the desired full path to a library file. In fact, many :ref:`Find Modules` are learning to provide :ref:`Imported Targets` instead of just the traditional ``Foo_LIBRARIES`` variable listing library files. However, this makes the link line generated for a library found by a Find Module depend on whether it is linked through an imported target or not, which is inconsistent. Furthermore, this behavior has been a source of confusion because the generated link line for a library file depends on its location. It is also problematic for projects trying to link statically because flags like ``-Wl,-Bstatic -lfoo -Wl,-Bdynamic`` may be used to help the linker select ``libfoo.a`` instead of ``libfoo.so`` but then leak dynamic linking to following libraries. (See the :prop_tgt:`LINK_SEARCH_END_STATIC` target property for a solution typically used for that problem.) When the special case for libraries in implicit link directories was first introduced the list of implicit link directories was simply hard-coded (e.g. ``/lib``, ``/usr/lib``, and a few others). Since that time, CMake has learned to detect the implicit link directories used by the compiler front-end. If necessary, the :command:`find_library` command could be taught to use this information to help find libraries of the proper architecture. For these reasons, CMake 3.3 and above prefer to drop the special case and link libraries by full path even when they are in implicit link directories. Policy ``CMP0060`` provides compatibility for existing projects. The OLD behavior for this policy is to ask the linker to search for libraries whose full paths are known to be in implicit link directories. The NEW behavior for this policy is to link libraries by full path even if they are in implicit link directories. This policy was introduced in CMake version 3.3. Unlike most policies, CMake version |release| does *not* warn by default when this policy is not set and simply uses OLD behavior. See documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0060 <CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning. .. include:: DEPRECATED.txt