diff options
author | Brad King <brad.king@kitware.com> | 2006-06-15 14:51:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-06-15 14:51:41 (GMT) |
commit | 4c2c2cfd680afb1e34705e07c15e9a1bbe164cf9 (patch) | |
tree | 6f94d7abd73dc53bccb22a22ad16d86a3e3dff2f /Source/cmAddCustomTargetCommand.h | |
parent | 640c90f06854191ff858aad85150ffac03d4dcf2 (diff) | |
download | CMake-4c2c2cfd680afb1e34705e07c15e9a1bbe164cf9.zip CMake-4c2c2cfd680afb1e34705e07c15e9a1bbe164cf9.tar.gz CMake-4c2c2cfd680afb1e34705e07c15e9a1bbe164cf9.tar.bz2 |
BUG: Clarified documentation about custom command outputs and custom target dependencies.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r-- | Source/cmAddCustomTargetCommand.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h index 7bc8c5d..0624fc2 100644 --- a/Source/cmAddCustomTargetCommand.h +++ b/Source/cmAddCustomTargetCommand.h @@ -68,15 +68,18 @@ public: " [DEPENDS depend depend depend ... ])\n" " [WORKING_DIRECTORY dir]\n" "Adds a target with the given name that executes the given commands " - "every time the target is built. If the ALL option is specified " + "every time the target is built. If the ALL option is specified " "it indicates that this target should be added to the default build " - "target so that it will be run every time. " - "The command and arguments are optional. If not specified, " - "it will create an empty target. The ADD_DEPENDENCIES command can be " - "used in conjunction with this command to drive custom target " - "generation. The command cannot be called ALL. " + "target so that it will be run every time " + "(the command cannot be called ALL). " + "The command and arguments are optional and if not specified an " + "empty target will be created. " "If WORKING_DIRECTORY is set, then the command will be run in that " - "directory."; + "directory. " + "Dependencies listed with the DEPENDS argument may reference files " + "and outputs of custom commands created with ADD_CUSTOM_COMMAND. " + "Dependencies on other targets may be added using the " + "ADD_DEPENDENCIES command."; } cmTypeMacro(cmAddCustomTargetCommand, cmCommand); |