[Cmake-commits] CMake branch, next, updated. v3.2.2-2123-g5abf2f0
Stephen Kelly
steveire at gmail.com
Sun Apr 26 13:10:33 EDT 2015
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 5abf2f0f4d7b30d44c5cbbb81e5a4da77ccf3ec7 (commit)
via ffb55a861926f7fdb5887cc09620da8ef55db194 (commit)
from 4f526dc718d324b6bfc1efbb376aabfface57b9d (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=5abf2f0f4d7b30d44c5cbbb81e5a4da77ccf3ec7
commit 5abf2f0f4d7b30d44c5cbbb81e5a4da77ccf3ec7
Merge: 4f526dc ffb55a8
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Apr 26 13:10:32 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Apr 26 13:10:32 2015 -0400
Merge topic 'refactor-cmDefinitions' into next
ffb55a86 Add sort.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ffb55a861926f7fdb5887cc09620da8ef55db194
commit ffb55a861926f7fdb5887cc09620da8ef55db194
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun Apr 26 19:10:05 2015 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Sun Apr 26 19:10:05 2015 +0200
Add sort.
diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx
index e048750..a39855f 100644
--- a/Source/cmDefinitions.cxx
+++ b/Source/cmDefinitions.cxx
@@ -107,6 +107,7 @@ cmDefinitions::Keys(std::vector<std::string>& undefined) const
std::vector<std::string>& m = mi->second.Exists? defined : undefined;
m.push_back(mi->first);
}
+ std::sort(undefined.begin(), undefined.end());
undefined.erase(std::unique(undefined.begin(), undefined.end()),
undefined.end());
return defined;
-----------------------------------------------------------------------
Summary of changes:
Source/cmDefinitions.cxx | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list