diff options
author | Brad King <brad.king@kitware.com> | 2014-09-09 15:23:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-09-09 15:23:32 (GMT) |
commit | a5c6ae69f3f773ade65f94b26a79adfbe64dff66 (patch) | |
tree | 0384b048c6efe7204873436eeca4aa5aaaebc296 | |
parent | 371f06d005692aa6e0c48a84fe08c5dfddb22c59 (diff) | |
parent | 1fdf4ff06adb33ddac22e631e52b7b88b2b5d414 (diff) | |
download | CMake-a5c6ae69f3f773ade65f94b26a79adfbe64dff66.zip CMake-a5c6ae69f3f773ade65f94b26a79adfbe64dff66.tar.gz CMake-a5c6ae69f3f773ade65f94b26a79adfbe64dff66.tar.bz2 |
Merge topic 'doc-add_custom_command-multiple-commands'
1fdf4ff0 Help: Suggest in add_custom_command how to create a script (#15112)
-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 1ea3718..e8b7cc8 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -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. |