summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-generator-expressions.7.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/manual/cmake-generator-expressions.7.rst')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 0a54c1d..f53af37 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -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