diff options
author | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2020-03-12 15:29:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-12 15:55:10 (GMT) |
commit | 3eb2b62d215033ea5d30c65b9bb0c5220058e3ba (patch) | |
tree | 2cd9d12f77c3311134235b79d5d2026ded8b95d4 /Help/command/add_custom_command.rst | |
parent | 1853c7f571579f23aba2f2504a73214373a67bb3 (diff) | |
download | CMake-3eb2b62d215033ea5d30c65b9bb0c5220058e3ba.zip CMake-3eb2b62d215033ea5d30c65b9bb0c5220058e3ba.tar.gz CMake-3eb2b62d215033ea5d30c65b9bb0c5220058e3ba.tar.bz2 |
Help: Expand discussion of GENERATED / BYPRODUCTS
- Mention the Makefile Generators' `make clean` removal in the
BYPRODUCTS section of add_custom_command and add_custom_target
- Expand the GENERATED property docs' description of which files will
be marked with the property, and of what it implies (including
`make clean` removal)
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r-- | Help/command/add_custom_command.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index 69d6e9a..9279748 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -68,6 +68,9 @@ The options are: order-only dependencies to ensure the byproducts will be available before their dependents build. + The :ref:`Makefile Generators` will remove ``BYPRODUCTS`` and other + :prop_sf:`GENERATED` files during ``make clean``. + ``COMMAND`` Specify the command-line(s) to execute at build time. If more than one ``COMMAND`` is specified they will be executed in order, |