summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-30 12:27:28 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-30 12:27:28 (GMT)
commit31d03e839902417d059a510df52f26d46950bba4 (patch)
tree90998a674129d6d4062a71af992137e292265621 /Source/cmAddCustomTargetCommand.h
parent318bfab8c13808da15f57b7e72d7c3f831722d57 (diff)
downloadCMake-31d03e839902417d059a510df52f26d46950bba4.zip
CMake-31d03e839902417d059a510df52f26d46950bba4.tar.gz
CMake-31d03e839902417d059a510df52f26d46950bba4.tar.bz2
ENH: Document scope of add_custom_command outputs
This explicitly states the scope of add_custom_command rules in the documentation of add_custom_command and add_custom_target. See issue #8815.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.h')
-rw-r--r--Source/cmAddCustomTargetCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h
index 9eef444..c4895c0 100644
--- a/Source/cmAddCustomTargetCommand.h
+++ b/Source/cmAddCustomTargetCommand.h
@@ -87,7 +87,8 @@ public:
"If COMMENT is set, the value will be displayed as a "
"message before the commands are executed at build time. "
"Dependencies listed with the DEPENDS argument may reference files "
- "and outputs of custom commands created with ADD_CUSTOM_COMMAND.\n"
+ "and outputs of custom commands created with add_custom_command() in "
+ "the same directory (CMakeLists.txt file).\n"
"If VERBATIM is given then all the arguments to the commands will be "
"passed exactly as specified no matter the build tool used. "
"Note that one level of escapes is still used by the CMake language "