summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-11-09 20:39:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-11-09 20:39:43 (GMT)
commite3b1dc171d2a71439830b1656bad5349171c17f4 (patch)
treed4958e250d3bd15cd7b8a3b85d7340b7374c3baa
parent01decafc9719030c3970ddd4861b7819f79adff6 (diff)
parent80edcc6a86d7b5e00073c5cd2584383f971b7645 (diff)
downloadCMake-e3b1dc171d2a71439830b1656bad5349171c17f4.zip
CMake-e3b1dc171d2a71439830b1656bad5349171c17f4.tar.gz
CMake-e3b1dc171d2a71439830b1656bad5349171c17f4.tar.bz2
Merge topic 'document-custom-command-no-DEPENDS'
80edcc6 Document custom command behavior without DEPENDS (#11407)
-rw-r--r--Source/cmAddCustomCommandCommand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index c67caa5..6c5e1af 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -152,6 +152,9 @@ public:
"If any dependency is an OUTPUT of another custom command in the "
"same directory (CMakeLists.txt file) CMake automatically brings the "
"other custom command into the target in which this command is built. "
+ "If DEPENDS is not specified the command will run whenever the OUTPUT "
+ "is missing; if the command does not actually create the OUTPUT then "
+ "the rule will always run. "
"If DEPENDS specifies any target (created by an ADD_* command) "
"a target-level dependency is created to make sure the target is "
"built before any target using this custom command. Additionally, "