CMake/Tests/RunCMake/file
Reiner Herrmann edcccde7d6 file: Sort GLOB results to make it deterministic (#14491)
Even though the `file(GLOB)` documentation specifically warns against
using it to collect a list of source files, projects often do it anyway.
Since it uses `readdir()`, the list of files will be unsorted.
This list is often passed directly to add_executable / add_library.
Linking binaries with an unsorted list will make it unreproducible,
which means that the produced binary will differ depending on the
unpredictable `readdir()` order.

To solve those reproducibility issues in a lot of programs (which don't
explicitly `list(SORT)` the list manually), sort the resulting list of
the `file(GLOB)` command.

A more detailed rationale about reproducible builds is available
[here](https://reproducible-builds.org/).
2016-05-17 10:12:11 -04:00
..
dir
subdir_test_unlock file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
CMakeLists.txt
DOWNLOAD-hash-mismatch-result.txt file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987) 2016-02-25 11:40:50 -05:00
DOWNLOAD-hash-mismatch-stderr.txt file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987) 2016-02-25 11:40:50 -05:00
DOWNLOAD-hash-mismatch.cmake file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987) 2016-02-25 11:40:50 -05:00
DOWNLOAD-hash-mismatch.txt file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987) 2016-02-25 11:40:50 -05:00
FileOpenFailRead-result.txt
FileOpenFailRead-stderr.txt
FileOpenFailRead.cmake
GLOB-error-LIST_DIRECTORIES-no-arg-result.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-error-LIST_DIRECTORIES-no-arg-stderr.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-error-LIST_DIRECTORIES-no-arg.cmake file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-error-LIST_DIRECTORIES-not-boolean-result.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-error-LIST_DIRECTORIES-not-boolean-stderr.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-error-LIST_DIRECTORIES-not-boolean.cmake file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB-stderr.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB.cmake file: Sort GLOB results to make it deterministic (#14491) 2016-05-17 10:12:11 -04:00
GLOB_RECURSE-cyclic-recursion-stderr.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB_RECURSE-cyclic-recursion.cmake file: Sort GLOB results to make it deterministic (#14491) 2016-05-17 10:12:11 -04:00
GLOB_RECURSE-stderr.txt file: Teach GLOB to list directories optionally 2015-03-20 09:45:25 -04:00
GLOB_RECURSE.cmake file: Sort GLOB results to make it deterministic (#14491) 2016-05-17 10:12:11 -04:00
INSTALL-DIRECTORY-stdout.txt file(INSTALL): Add undocumented options to control output verbosity 2014-06-24 13:11:45 -04:00
INSTALL-DIRECTORY.cmake file(INSTALL): Add undocumented options to control output verbosity 2014-06-24 13:11:45 -04:00
INSTALL-MESSAGE-bad-result.txt file(INSTALL): Add undocumented options to control output verbosity 2014-06-24 13:11:45 -04:00
INSTALL-MESSAGE-bad-stderr.txt file(INSTALL): Add undocumented options to control output verbosity 2014-06-24 13:11:45 -04:00
INSTALL-MESSAGE-bad.cmake file(INSTALL): Add undocumented options to control output verbosity 2014-06-24 13:11:45 -04:00
LOCK-error-file-create-fail-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-file-create-fail-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-file-create-fail.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-guard-incorrect-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-guard-incorrect-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-guard-incorrect.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout-trail-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout-trail-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout-trail.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-incorrect-timeout.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-lock-fail-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-lock-fail-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-lock-fail.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-negative-timeout-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-negative-timeout-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-negative-timeout.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-function-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-function-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-function.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-guard-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-guard-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-guard.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-path-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-path-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-path.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-result-variable-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-result-variable-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-result-variable.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-timeout-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-timeout-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-no-timeout.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-timeout-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-timeout-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-timeout-stdout.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-timeout.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-unknown-option-result.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-unknown-option-stderr.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-error-unknown-option.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK-stdout.txt file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
LOCK.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00
RunCMakeTest.cmake file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987) 2016-02-25 11:40:50 -05:00
timeout-script.cmake file: Add LOCK subcommand to do file and directory locking 2014-12-03 09:47:44 -05:00