diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-08 15:58:36 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-08 15:58:36 (GMT) |
commit | 347c5f4b46396e974ff164b44f23b37eef779138 (patch) | |
tree | e6457f6b3ce5ec7e54f3991e4e7912d2531f98b3 /Source/cmAddCustomTargetCommand.h | |
parent | 6fe45fe9c3348645a0fe145e1f32c487829cea64 (diff) | |
download | CMake-347c5f4b46396e974ff164b44f23b37eef779138.zip CMake-347c5f4b46396e974ff164b44f23b37eef779138.tar.gz CMake-347c5f4b46396e974ff164b44f23b37eef779138.tar.bz2 |
ENH: add working directory support
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r-- | Source/cmAddCustomTargetCommand.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h index 6772d58..7bc8c5d 100644 --- a/Source/cmAddCustomTargetCommand.h +++ b/Source/cmAddCustomTargetCommand.h @@ -66,6 +66,7 @@ public: " ADD_CUSTOM_TARGET(Name [ALL] [command1 [args1...]]\n" " [COMMAND command2 [args2...] ...]\n" " [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 " "it indicates that this target should be added to the default build " @@ -73,7 +74,9 @@ public: "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."; + "generation. The command cannot be called ALL. " + "If WORKING_DIRECTORY is set, then the command will be run in that " + "directory."; } cmTypeMacro(cmAddCustomTargetCommand, cmCommand); |