Help: Format TARGET_PROPERTY special evaluation rules as a definition list

This commit is contained in:
Brad King
2024-05-08 15:07:04 -04:00
parent 886b07a41c
commit af59289904
+18 -16
View File
@@ -1775,11 +1775,11 @@ These expressions look up the values of
The expressions have special evaluation rules for some properties: The expressions have special evaluation rules for some properties:
* :ref:`Target Build Specification` properties evaluate as a :ref:`Target Build Specification Properties <Target Build Specification>`
:ref:`semicolon-separated list <CMake Language Lists>` representing the union These evaluate as a :ref:`semicolon-separated list <CMake Language Lists>`
of the value on the target itself with the values of the corresponding representing the union of the value on the target itself with the values
:ref:`Target Usage Requirements` on targets named by the target's of the corresponding :ref:`Target Usage Requirements` on targets named by
:prop_tgt:`LINK_LIBRARIES`: the target's :prop_tgt:`LINK_LIBRARIES`:
* For :ref:`Target Compile Properties`, evaluation of corresponding usage * For :ref:`Target Compile Properties`, evaluation of corresponding usage
requirements is transitive over the closure of the linked targets' requirements is transitive over the closure of the linked targets'
@@ -1793,10 +1793,11 @@ The expressions have special evaluation rules for some properties:
Evaluation of :prop_tgt:`LINK_LIBRARIES` itself is not transitive. Evaluation of :prop_tgt:`LINK_LIBRARIES` itself is not transitive.
* :ref:`Target Usage Requirements` evaluate as a :ref:`Target Usage Requirement Properties <Target Usage Requirements>`
:ref:`semicolon-separated list <CMake Language Lists>` representing the union These evaluate as a :ref:`semicolon-separated list <CMake Language Lists>`
of the value on the target itself with the values of the same properties on representing the union of the value on the target itself with the values
targets named by the target's :prop_tgt:`INTERFACE_LINK_LIBRARIES`: of the same properties on targets named by the target's
:prop_tgt:`INTERFACE_LINK_LIBRARIES`:
* For :ref:`Transitive Compile Properties`, evaluation is transitive over * For :ref:`Transitive Compile Properties`, evaluation is transitive over
the closure of the target's :prop_tgt:`INTERFACE_LINK_LIBRARIES` the closure of the target's :prop_tgt:`INTERFACE_LINK_LIBRARIES`
@@ -1809,13 +1810,14 @@ The expressions have special evaluation rules for some properties:
Evaluation of :prop_tgt:`INTERFACE_LINK_LIBRARIES` itself is not transitive. Evaluation of :prop_tgt:`INTERFACE_LINK_LIBRARIES` itself is not transitive.
* :ref:`Compatible Interface Properties` evaluate as a single value :ref:`Compatible Interface Properties`
combined from the target itself, from targets named by the target's These evaluate as a single value combined from the target itself,
:prop_tgt:`LINK_LIBRARIES`, and from the transitive closure of the from targets named by the target's :prop_tgt:`LINK_LIBRARIES`, and
linked targets' :prop_tgt:`INTERFACE_LINK_LIBRARIES`. Values of a from the transitive closure of the linked targets'
compatible interface property from multiple targets combine based on :prop_tgt:`INTERFACE_LINK_LIBRARIES`. Values of a compatible
the type of compatibility required by the ``COMPATIBLE_INTERFACE_*`` interface property from multiple targets combine based on the type
property defining it. of compatibility required by the ``COMPATIBLE_INTERFACE_*`` property
defining it.
Target Artifacts Target Artifacts