mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-13 02:29:02 -06:00
Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
22 lines
594 B
ReStructuredText
22 lines
594 B
ReStructuredText
CMP0105
|
|
-------
|
|
|
|
.. versionadded:: 3.18
|
|
|
|
:prop_tgt:`LINK_OPTIONS` and :prop_tgt:`INTERFACE_LINK_OPTIONS` target
|
|
properties are now used for the device link step.
|
|
|
|
In CMake 3.17 and below, link options are not used by the device link step.
|
|
|
|
The ``OLD`` behavior for this policy is to ignore the link options during the
|
|
device link step.
|
|
|
|
The ``NEW`` behavior of this policy is to use the link options during the
|
|
device link step.
|
|
|
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18
|
|
.. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
|
|
.. include:: STANDARD_ADVICE.txt
|
|
|
|
.. include:: DEPRECATED.txt
|