From 1fdf4ff06adb33ddac22e631e52b7b88b2b5d414 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 8 Sep 2014 14:17:36 -0400 Subject: Help: Suggest in add_custom_command how to create a script (#15112) --- Help/command/add_custom_command.rst | 3 +++ 1 file changed, 3 insertions(+) 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. -- cgit v0.12