From a4f0321ddc93ab87b661f70422ad0f22f5b8be18 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Thu, 30 Jun 2022 15:24:09 -0400 Subject: Help: Document $ dependency behavior Fixes: #23686 --- Help/manual/cmake-generator-expressions.7.rst | 4 ++++ 1 file changed, 4 insertions(+) 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:: $ .. versionadded:: 3.15 -- cgit v0.12