mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user