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/cmAddCustomCommandCommand.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/cmAddCustomCommandCommand.h')
-rw-r--r-- | Source/cmAddCustomCommandCommand.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h index 7a40c47..bacce8f 100644 --- a/Source/cmAddCustomCommandCommand.h +++ b/Source/cmAddCustomCommandCommand.h @@ -74,7 +74,9 @@ public: " [WORKING_DIRECTORY dir]\n" " [COMMENT comment])\n" "This defines a new command that can be executed during the build " - "process. Note that MAIN_DEPENDENCY is completely optional and is " + "process. The outputs named should be listed as source files in the " + "target for which they are to be generated. " + "Note that MAIN_DEPENDENCY is completely optional and is " "used as a suggestion to visual studio about where to hang the " "custom command. In makefile terms this creates a new target in the " "following form:\n" @@ -100,9 +102,9 @@ public: " POST_BUILD - run after the target has been built\n" "Note that the PRE_BUILD option is only supported on Visual " "Studio 7 or later. For all other generators PRE_BUILD " - "will be treated as PRE_LINK." - "If WORKING_DIRECTORY is specified the command a cd \"dir\" is " - "done prior to running the command."; + "will be treated as PRE_LINK. " + "If WORKING_DIRECTORY is specified the command will be executed " + "in the directory given."; } cmTypeMacro(cmAddCustomCommandCommand, cmCommand); |