diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2022-06-30 19:24:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-05 15:31:23 (GMT) |
commit | a4f0321ddc93ab87b661f70422ad0f22f5b8be18 (patch) | |
tree | 9534e66d1ca3d5b75a974cfcb461599429f40880 /Help/manual | |
parent | 8fd68f9dd34fb3a151d51eaf833433fd3002d0f9 (diff) | |
download | CMake-a4f0321ddc93ab87b661f70422ad0f22f5b8be18.zip CMake-a4f0321ddc93ab87b661f70422ad0f22f5b8be18.tar.gz CMake-a4f0321ddc93ab87b661f70422ad0f22f5b8be18.tar.bz2 |
Help: Document $<TARGET_FILE> dependency behavior
Fixes: #23686
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 4 |
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 |