diff options
Diffstat (limited to 'Help/manual/cmake-generator-expressions.7.rst')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index f8c722b..49d94ef 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -1751,7 +1751,8 @@ These expressions look up the values of .. genex:: $<TARGET_PROPERTY:tgt,prop> - Value of the property ``prop`` on the target ``tgt``. + Value of the property ``prop`` on the target ``tgt``, or empty if + the property is not set. Note that ``tgt`` is not added as a dependency of the target this expression is evaluated on. @@ -1767,9 +1768,10 @@ These expressions look up the values of :target: TARGET_PROPERTY:prop Value of the property ``prop`` on the target for which the expression - is being evaluated. Note that for generator expressions in - :ref:`Target Usage Requirements` this is the consuming target rather - than the target specifying the requirement. + is being evaluated, or empty if the property is not set. + Note that for generator expressions in :ref:`Target Usage Requirements` + this is the consuming target rather than the target specifying the + requirement. The expressions have special evaluation rules for some properties: |