[Cmake-commits] CMake branch, next, updated. v3.4.0-rc1-782-g3df8be1
Brad King
brad.king at kitware.com
Wed Oct 21 08:53:24 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 3df8be1826ac49fb99a495288873bb02f6690e38 (commit)
via 5a208f834ea6d786611a5dc34dd7ed1d781dd1bc (commit)
from 2fc8bee548c8d15d34ae9357523e0d5423026c03 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3df8be1826ac49fb99a495288873bb02f6690e38
commit 3df8be1826ac49fb99a495288873bb02f6690e38
Merge: 2fc8bee 5a208f8
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Oct 21 08:53:23 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Oct 21 08:53:23 2015 -0400
Merge topic 'doc-file-GLOB-no-order' into next
5a208f83 Help: Document that file(GLOB*) order is undefined
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5a208f834ea6d786611a5dc34dd7ed1d781dd1bc
commit 5a208f834ea6d786611a5dc34dd7ed1d781dd1bc
Author: Ruslan Baratov <ruslan_baratov at yahoo.com>
AuthorDate: Wed Oct 21 02:53:37 2015 +0600
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Oct 21 08:51:54 2015 -0400
Help: Document that file(GLOB*) order is undefined
Since this command use 'readdir' under the hood the order of list is
undefined:
* http://stackoverflow.com/questions/8977441/does-readdir-guarantee-an-order
diff --git a/Help/command/file.rst b/Help/command/file.rst
index bbddd40..96ac6c7 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -103,7 +103,8 @@ Generate a list of files that match the ``<globbing-expressions>`` and
store it into the ``<variable>``. Globbing expressions are similar to
regular expressions, but much simpler. If ``RELATIVE`` flag is
specified, the results will be returned as relative paths to the given
-path.
+path. No specific order of results is defined. If order is important then
+sort the list explicitly (e.g. using the :command:`list(SORT)` command).
By default ``GLOB`` lists directories - directories are omited in result if
``LIST_DIRECTORIES`` is set to false.
-----------------------------------------------------------------------
Summary of changes:
Help/command/file.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list