CMake/Help/variable/CMAKE_LINK_LIBRARIES_STRATEGY.rst
Craig Scott 1a119c5ad5
Help: Move LINK_LIBRARIES_STRATEGY details to target property docs
For cases where a CMAKE_XXX variable provides a default value for a
XXX target property, the convention used in the documentation is to
put the detailed explanation in the target property docs, leaving the
variable docs to be fairly minimal and cross-reference the target
property docs for details.

When the (CMAKE_)LINK_LIBRARIES_STRATEGY docs were first added,
they were the opposite of this convention, putting the details in the
variable docs instead of the property docs. This change moves the
details to the property docs to make it consistent with the prevailing
convention used elsewhere.
2024-10-19 10:38:10 +11:00

12 lines
381 B
ReStructuredText

CMAKE_LINK_LIBRARIES_STRATEGY
-----------------------------
.. versionadded:: 3.31
Specify a strategy for ordering targets' direct link dependencies
on linker command lines.
If set, this variable acts as the default value for the
:prop_tgt:`LINK_LIBRARIES_STRATEGY` target property when a target is created.
Set that property directly to specify a strategy for a single target.