summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_target.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-15 11:50:33 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-15 12:00:20 (GMT)
commit2b1cc175ee913477c3f1dc6978dd63b2fdaff7e2 (patch)
tree3f4933713e293ff62812cea97465aea1d1ec8210 /Help/command/add_custom_target.rst
parent82b25be80afc92da045d04a37e121a3fa97392c0 (diff)
downloadCMake-2b1cc175ee913477c3f1dc6978dd63b2fdaff7e2.zip
CMake-2b1cc175ee913477c3f1dc6978dd63b2fdaff7e2.tar.gz
CMake-2b1cc175ee913477c3f1dc6978dd63b2fdaff7e2.tar.bz2
Help: Clarify version adding add_custom_{command,target} OUTPUT genex support
Update the documentation added by commit c257c25419 (add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS, 2020-10-19) to use sphinx markup instead of prose to specify the version in which the feature was added.
Diffstat (limited to 'Help/command/add_custom_target.rst')
-rw-r--r--Help/command/add_custom_target.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst
index 85e1e16..2beb519 100644
--- a/Help/command/add_custom_target.rst
+++ b/Help/command/add_custom_target.rst
@@ -54,8 +54,9 @@ The options are:
The :ref:`Makefile Generators` will remove ``BYPRODUCTS`` and other
:prop_sf:`GENERATED` files during ``make clean``.
- Since CMake 3.20, arguments to ``BYPRODUCTS`` may use
- :manual:`generator expressions <cmake-generator-expressions(7)>`.
+ .. versionadded:: 3.20
+ Arguments to ``BYPRODUCTS`` may use
+ :manual:`generator expressions <cmake-generator-expressions(7)>`.
``COMMAND``
Specify the command-line(s) to execute at build time.