[Cmake-commits] CMake branch, next, updated. v2.8.9-106-gd61b2c2
David Cole
david.cole at kitware.com
Wed Aug 15 22:44:49 EDT 2012
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 d61b2c2d10c16472ec86d8da08f44b5c367a8fcb (commit)
via 0eaaa863ed38ce95727e9743ca63a86ca2a7638e (commit)
from 3f90348470a6a350fb735df54e54cccc1591485a (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=d61b2c2d10c16472ec86d8da08f44b5c367a8fcb
commit d61b2c2d10c16472ec86d8da08f44b5c367a8fcb
Merge: 3f90348 0eaaa86
Author: David Cole <david.cole at kitware.com>
AuthorDate: Wed Aug 15 22:44:46 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Aug 15 22:44:46 2012 -0400
Merge topic 'clarify-if-is_newer_than-docs' into next
0eaaa86 CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0eaaa863ed38ce95727e9743ca63a86ca2a7638e
commit 0eaaa863ed38ce95727e9743ca63a86ca2a7638e
Author: David Cole <david.cole at kitware.com>
AuthorDate: Wed Aug 15 19:52:21 2012 -0400
Commit: David Cole <david.cole at kitware.com>
CommitDate: Wed Aug 15 19:52:21 2012 -0400
CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)
...comparison operator in the IF command. In the event of
a tie, we intentionally return "true" so that dependent
build operations are guaranteed to occur until one file
is definitively newer than the other file.
A tie means we're not sure, so return true to be on the
safe side.
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 4893a17..0a1fe06 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -149,7 +149,12 @@ public:
" if(file1 IS_NEWER_THAN file2)\n"
"True if file1 is newer than file2 or if one of the two files "
"doesn't exist. "
- "Behavior is well-defined only for full paths.\n"
+ "Behavior is well-defined only for full paths. "
+ "If the file time stamps are exactly the same, an "
+ "IS_NEWER_THAN comparison returns true, so that any dependent "
+ "build operations will occur in the event of a tie. "
+ "This includes the case of passing the same file name for both "
+ "file1 and file2.\n"
" if(IS_DIRECTORY directory-name)\n"
"True if the given name is a directory. "
"Behavior is well-defined only for full paths.\n"
-----------------------------------------------------------------------
Summary of changes:
Source/cmIfCommand.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list