summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-07-17 17:43:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-07-17 17:43:37 (GMT)
commit0044ce71bce5e9329356d0cb6bc67ea30142b9b2 (patch)
tree79b15e6ca55f1f8f8c2ea3384299efb973feb4aa /Source/cmAddCustomCommandCommand.h
parent11742beb1bc44c7694113ef1196cb994cd488901 (diff)
downloadCMake-0044ce71bce5e9329356d0cb6bc67ea30142b9b2.zip
CMake-0044ce71bce5e9329356d0cb6bc67ea30142b9b2.tar.gz
CMake-0044ce71bce5e9329356d0cb6bc67ea30142b9b2.tar.bz2
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 76d9ec7..e2bf2f1 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"