summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_command.rst
diff options
context:
space:
mode:
authorHinell <al.neodim@gmail.com>2022-09-09 19:40:24 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-16 14:50:46 (GMT)
commit00b788e85ee9ebdbf2c40ea9b71a0b1bdf07c99d (patch)
tree47ef89619b8d28c31c2af23620045666f402b712 /Help/command/add_custom_command.rst
parentcabba23ab270eb5cc672c43265f9eb3cb7dda8cc (diff)
downloadCMake-00b788e85ee9ebdbf2c40ea9b71a0b1bdf07c99d.zip
CMake-00b788e85ee9ebdbf2c40ea9b71a0b1bdf07c99d.tar.gz
CMake-00b788e85ee9ebdbf2c40ea9b71a0b1bdf07c99d.tar.bz2
Help:custom_command: link policy on BYPRODUCTS
Link policy explaining BYPRODUCTS. Fixes: #23786
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r--Help/command/add_custom_command.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 9e60d2d..523e1b3 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -67,6 +67,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