diff options
author | Hinell <al.neodim@gmail.com> | 2022-09-19 16:12:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-19 16:39:29 (GMT) |
commit | 37381506dcc004a62db39c7d62abe2240266b6a1 (patch) | |
tree | b9678c44bff2f17250860c4a08b4a3de2a92d999 /Help/command | |
parent | 620cf9efa78c8862558ac321c043194d1cb6eb19 (diff) | |
download | CMake-37381506dcc004a62db39c7d62abe2240266b6a1.zip CMake-37381506dcc004a62db39c7d62abe2240266b6a1.tar.gz CMake-37381506dcc004a62db39c7d62abe2240266b6a1.tar.bz2 |
Help: Link from add_custom_target to policy on BYPRODUCTS
Link policy explaining BYPRODUCTS.
Apply the change from commit 00b788e85e (Help:custom_command: link
policy on BYPRODUCTS, 2022-09-09) to `add_custom_target` docs too.
Issue: #23786
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/add_custom_target.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index def23fa..d8882ca 100644 --- a/Help/command/add_custom_target.rst +++ b/Help/command/add_custom_target.rst @@ -42,6 +42,8 @@ The options are: Each byproduct file will be marked with the :prop_sf:`GENERATED` source file property automatically. + *See policy* :policy:`CMP0058` *for the motivation behind this feature.* + Explicit specification of byproducts is supported by the :generator:`Ninja` generator to tell the ``ninja`` build tool how to regenerate byproducts when they are missing. It is |