mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
Help: Clarify usage of TARGET_PROPERTY generator expression
When using $<TARGET_PROPERTY:prop>, the value of prop comes from the consuming target rather than the current target. Add a note to clarify this.
This commit is contained in:
@@ -238,7 +238,10 @@ Available informational expressions are:
|
||||
expression is evaluated on.
|
||||
``$<TARGET_PROPERTY:prop>``
|
||||
Value of the property ``prop`` on the target on which the generator
|
||||
expression is evaluated.
|
||||
expression is evaluated. Note that for generator expressions in
|
||||
:ref:`Target Usage Requirements` this is the value of the property
|
||||
on the consuming target rather than the target specifying the
|
||||
requirement.
|
||||
``$<INSTALL_PREFIX>``
|
||||
Content of the install prefix when the target is exported via
|
||||
:command:`install(EXPORT)` and empty otherwise.
|
||||
|
||||
Reference in New Issue
Block a user