summaryrefslogtreecommitdiff
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-08 10:58:36 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-08 10:58:36 -0500
commit347c5f4b46396e974ff164b44f23b37eef779138 (patch)
treee6457f6b3ce5ec7e54f3991e4e7912d2531f98b3 /Source/cmAddCustomCommandCommand.h
parent6fe45fe9c3348645a0fe145e1f32c487829cea64 (diff)
downloadcmake-347c5f4b46396e974ff164b44f23b37eef779138.tar.gz
ENH: add working directory support
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 94c3959e52..96f85f6512 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -71,6 +71,7 @@ public:
" [COMMAND command2 [ARGS] [args2...] ...]\n"
" [MAIN_DEPENDENCY depend]\n"
" [DEPENDS [depends...]]\n"
+ " [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 "
@@ -89,6 +90,7 @@ public:
" PRE_BUILD | PRE_LINK | POST_BUILD\n"
" COMMAND command1 [ARGS] [args1...]\n"
" [COMMAND command2 [ARGS] [args2...] ...]\n"
+ " [WORKING_DIRECTORY dir]\n"
" [COMMENT comment])\n"
"This defines a new command that will be associated with "
"building the specified target. When the command will "
@@ -98,7 +100,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.";
+ "will be treated as PRE_LINK."
+ "If WORKING_DIRECTORY is specified the command a cd \"dir\" is "
+ "done prior to running the command.";
}
cmTypeMacro(cmAddCustomCommandCommand, cmCommand);