Merge topic 'doc-TARGET_FILE-depends'

a4f0321ddc Help: Document $<TARGET_FILE> dependency behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7431
This commit is contained in:
Brad King
2022-07-05 21:31:34 +00:00
committed by Kitware Robot

View File

@@ -1044,6 +1044,10 @@ which is just the string ``tgt``.
Full path to the ``tgt`` binary file.
Note that ``tgt`` is not added as a dependency of the target this
expression is evaluated on, unless the expression is being used in
:command:`add_custom_command` or :command:`add_custom_target`.
.. genex:: $<TARGET_FILE_BASE_NAME:tgt>
.. versionadded:: 3.15