[Cmake-commits] CMake branch, next, updated. v2.8.3-540-gc96b596
Brad King
brad.king at kitware.com
Fri Nov 5 08:10:16 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via c96b596c6e8ff4e31ac11fb4be3d115ba9289e68 (commit)
via 80edcc6a86d7b5e00073c5cd2584383f971b7645 (commit)
from 49babd96b1179c8077432a87334071fd1cdb0379 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c96b596c6e8ff4e31ac11fb4be3d115ba9289e68
commit c96b596c6e8ff4e31ac11fb4be3d115ba9289e68
Merge: 49babd9 80edcc6
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 5 08:10:14 2010 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Nov 5 08:10:14 2010 -0400
Merge topic 'document-custom-command-no-DEPENDS' into next
80edcc6 Document custom command behavior without DEPENDS (#11407)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=80edcc6a86d7b5e00073c5cd2584383f971b7645
commit 80edcc6a86d7b5e00073c5cd2584383f971b7645
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Nov 5 08:08:37 2010 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Nov 5 08:08:37 2010 -0400
Document custom command behavior without DEPENDS (#11407)
The behavior of add_custom_command when no DEPENDS option is specified
matches that of standard Make behavior, but it does not hurt to describe
it explicitly.
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, "
-----------------------------------------------------------------------
Summary of changes:
Source/cmAddCustomCommandCommand.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list