summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-02 19:13:50 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-02 19:13:50 (GMT)
commit412926d03a287745134afcbd464871f97fe4b0ce (patch)
tree9a831ee384959b424e218c084315dcff5e055875 /Help
parent68a1d429b12b3e8dadcac1aee32da06943892963 (diff)
downloadCMake-412926d03a287745134afcbd464871f97fe4b0ce.zip
CMake-412926d03a287745134afcbd464871f97fe4b0ce.tar.gz
CMake-412926d03a287745134afcbd464871f97fe4b0ce.tar.bz2
Help: Clarify add_custom_command multiple command behavior (#15112)
Explicitly say that the commands are not composed into a stateful script.
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_custom_command.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 130f5c2..1ea3718 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -45,7 +45,8 @@ The options are:
``COMMAND``
Specify the command-line(s) to execute at build time.
- If more than one command is specified they will be executed in order.
+ If more than one ``COMMAND`` is specified they will be executed in order,
+ but *not* necessarily composed into a stateful shell or batch script.
The optional ``ARGS`` argument is for backward compatibility and
will be ignored.