From af592899040dafb594516b05c3819e9383c61714 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 8 May 2024 15:07:04 -0400 Subject: [PATCH] Help: Format TARGET_PROPERTY special evaluation rules as a definition list --- Help/manual/cmake-generator-expressions.7.rst | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 49d94efb17..d9b10b8efd 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -1775,11 +1775,11 @@ These expressions look up the values of The expressions have special evaluation rules for some properties: -* :ref:`Target Build Specification` properties evaluate as a - :ref:`semicolon-separated list ` representing the union - of the value on the target itself with the values of the corresponding - :ref:`Target Usage Requirements` on targets named by the target's - :prop_tgt:`LINK_LIBRARIES`: +:ref:`Target Build Specification Properties ` + These evaluate as a :ref:`semicolon-separated list ` + representing the union of the value on the target itself with the values + of the corresponding :ref:`Target Usage Requirements` on targets named by + the target's :prop_tgt:`LINK_LIBRARIES`: * For :ref:`Target Compile Properties`, evaluation of corresponding usage 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. -* :ref:`Target Usage Requirements` evaluate as a - :ref:`semicolon-separated list ` representing the union - of the value on the target itself with the values of the same properties on - targets named by the target's :prop_tgt:`INTERFACE_LINK_LIBRARIES`: +:ref:`Target Usage Requirement Properties ` + These evaluate as a :ref:`semicolon-separated list ` + representing the union of the value on the target itself with the values + 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 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. -* :ref:`Compatible Interface Properties` evaluate as a single value - combined from the target itself, from targets named by the target's - :prop_tgt:`LINK_LIBRARIES`, and from the transitive closure of the - linked targets' :prop_tgt:`INTERFACE_LINK_LIBRARIES`. Values of a - compatible interface property from multiple targets combine based on - the type of compatibility required by the ``COMPATIBLE_INTERFACE_*`` - property defining it. +:ref:`Compatible Interface Properties` + These evaluate as a single value combined from the target itself, + from targets named by the target's :prop_tgt:`LINK_LIBRARIES`, and + from the transitive closure of the linked targets' + :prop_tgt:`INTERFACE_LINK_LIBRARIES`. Values of a compatible + interface property from multiple targets combine based on the type + of compatibility required by the ``COMPATIBLE_INTERFACE_*`` property + defining it. Target Artifacts