summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-04 22:10:30 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-04 22:10:30 (GMT)
commit5a6b0792cd5b3dd16b8a94091db15e02e9b4a00b (patch)
tree0555eb82a57d07bddefdfb3cf3760f1042fa763d /Source/cmAddCustomTargetCommand.h
parent168591e72dd3d67ae2ced24582e6b117a9a2ac4f (diff)
downloadCMake-5a6b0792cd5b3dd16b8a94091db15e02e9b4a00b.zip
CMake-5a6b0792cd5b3dd16b8a94091db15e02e9b4a00b.tar.gz
CMake-5a6b0792cd5b3dd16b8a94091db15e02e9b4a00b.tar.bz2
ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r--Source/cmAddCustomTargetCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h
index a8ed7c4..b8808b8 100644
--- a/Source/cmAddCustomTargetCommand.h
+++ b/Source/cmAddCustomTargetCommand.h
@@ -66,7 +66,8 @@ public:
" ADD_CUSTOM_TARGET(Name [ALL] [command1 [args1...]]\n"
" [COMMAND command2 [args2...] ...]\n"
" [DEPENDS depend depend depend ... ]\n"
- " [WORKING_DIRECTORY dir] [VERBATIM])\n"
+ " [WORKING_DIRECTORY dir]\n"
+ " [COMMENT comment] [VERBATIM])\n"
"Adds a target with the given name that executes the given commands. "
"The target has no output file and is ALWAYS CONSIDERED OUT OF DATE "
"even if the commands try to create a file with the name of the "
@@ -81,6 +82,8 @@ public:
"empty target will be created. "
"If WORKING_DIRECTORY is set, then the command will be run in that "
"directory. "
+ "If COMMENT is set, the value will be displayed as a "
+ "message before the commands are executed at build time. "
"Dependencies listed with the DEPENDS argument may reference files "
"and outputs of custom commands created with ADD_CUSTOM_COMMAND.\n"
"If VERBATIM is given then all the arguments to the commands will be "