Merge topic 'doc-add_custom_command-multiple-commands'

1fdf4ff0 Help: Suggest in add_custom_command how to create a script (#15112)
This commit is contained in:
Brad King 2014-09-09 11:23:32 -04:00 committed by CMake Topic Stage
commit a5c6ae69f3
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ The options are:
Specify the command-line(s) to execute at build time.
If more than one ``COMMAND`` is specified they will be executed in order,
but *not* necessarily composed into a stateful shell or batch script.
(To run a full script, use the :command:`configure_file` command or the
:command:`file(GENERATE)` command to create it, and then specify
a ``COMMAND`` to launch it.)
The optional ``ARGS`` argument is for backward compatibility and
will be ignored.