summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
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"