summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-21 12:53:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-21 12:53:30 (GMT)
commit779b6ac4f8ba71fe23c1edbcef8678e96e053b6f (patch)
treedde0d47e61f759d85cd429a675ec9d7d6e43391d
parent22bfb39dea2476df8f7aa5ed5c773a7a6720c4bc (diff)
parent5a208f834ea6d786611a5dc34dd7ed1d781dd1bc (diff)
downloadCMake-779b6ac4f8ba71fe23c1edbcef8678e96e053b6f.zip
CMake-779b6ac4f8ba71fe23c1edbcef8678e96e053b6f.tar.gz
CMake-779b6ac4f8ba71fe23c1edbcef8678e96e053b6f.tar.bz2
Merge branch 'doc-file-GLOB-no-order' into release
-rw-r--r--Help/command/file.rst3
1 files changed, 2 insertions, 1 deletions
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.