summaryrefslogtreecommitdiff
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-07-17 13:43:37 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2007-07-17 13:43:37 -0400
commit0044ce71bce5e9329356d0cb6bc67ea30142b9b2 (patch)
tree79b15e6ca55f1f8f8c2ea3384299efb973feb4aa /Source/cmAddCustomCommandCommand.h
parent11742beb1bc44c7694113ef1196cb994cd488901 (diff)
downloadcmake-0044ce71bce5e9329356d0cb6bc67ea30142b9b2.tar.gz
STYLE: add more docs
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 76d9ec74b2..e2bf2f1c2e 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -87,7 +87,10 @@ public:
"ignored.\n"
"The second signature adds a custom command to a target "
"such as a library or executable. This is useful for "
- "performing an operation before or after building the target:\n"
+ "performing an operation before or after building the target. "
+ "The command becomes part of the target and will only execute "
+ "when the target itself is built. If the target is already built,"
+ " the command will not execute.\n"
" ADD_CUSTOM_COMMAND(TARGET target\n"
" PRE_BUILD | PRE_LINK | POST_BUILD\n"
" COMMAND command1 [ARGS] [args1...]\n"