summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 6036e3a..de4152b 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -65,10 +65,10 @@ public:
return
"There are two main signatures for ADD_CUSTOM_COMMAND "
"The first signature is for adding a custom command "
- "to produce an output.\n"
+ "to produce an output.\n"
" ADD_CUSTOM_COMMAND(OUTPUT result\n"
- " COMMAND command\n"
- " [ARGS [args...]]\n"
+ " COMMAND command1 [ARGS] [args1...]\n"
+ " [COMMAND command2 [ARGS] [args2...] ...]\n"
" [MAIN_DEPENDENCY depend]\n"
" [DEPENDS [depends...]]\n"
" [COMMENT comment])\n"
@@ -78,14 +78,17 @@ public:
"custom command. In makefile terms this creates a new target in the "
"following form:\n"
" OUTPUT: MAIN_DEPENDENCY DEPENDS\n"
- " COMMAND ARGS\n"
+ " COMMAND\n"
+ "If more than one command is specified they will be executed in order. "
+ "The optional ARGS argument is for backward compatibility and will be "
+ "ignored.\n"
"The second signature adds a custom command to a target "
"such as a library or executable. This is useful for "
"performing an operation before or after building the target:\n"
" ADD_CUSTOM_COMMAND(TARGET target\n"
" PRE_BUILD | PRE_LINK | POST_BUILD\n"
- " COMMAND command\n"
- " [ARGS [args...]]\n"
+ " COMMAND command1 [ARGS] [args1...]\n"
+ " [COMMAND command2 [ARGS] [args2...] ...]\n"
" [COMMENT comment])\n"
"This defines a new command that will be associated with "
"building the specified target. When the command will "