summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/TRANSITIVE_COMPILE_PROPERTIES.rst
blob: a7777c38edd617bbbfbd9fb3b225f64d2ef4d372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TRANSITIVE_COMPILE_PROPERTIES
-----------------------------

.. versionadded:: 3.30

Properties that the :genex:`TARGET_PROPERTY` generator expression, on the
target and its dependents, evaluates as the union of values collected from
the transitive closure of link dependencies, excluding entries guarded by
:genex:`LINK_ONLY`.

The value is a :ref:`semicolon-separated list <CMake Language Lists>`
of :ref:`custom transitive property <Custom Transitive Properties>` names.
Any leading ``INTERFACE_`` prefix is ignored, e.g., ``INTERFACE_PROP`` is
treated as just ``PROP``.

See documentation of the :genex:`TARGET_PROPERTY` generator expression
for details of custom transitive property evaluation.