- 03 Aug, 2017 1 commit
-
-
When using `file(WRITE)`, parent directories are also created. Documentation has been updated to explain this behavior. Co-Author: Craig Scott <craig.scott@crascit.com>
-
- 10 Apr, 2017 1 commit
-
-
Closes: #16556
-
- 10 Nov, 2016 1 commit
-
-
Brad King authored
Spell out the supported algorithms in a definition list in the `string(<HASH>)` command documentation. Revise the `file(<HASH>)` command and CPack module documentation to reference it instead of duplicating the list.
-
- 01 Nov, 2016 1 commit
-
-
Christian Fetzer authored
Clarifies that there is no need to surround file(REMOVE/REMOVE_RECURSE) calls by `if(EXISTS)` as non existent files are silently ignored.
-
- 15 Sep, 2016 1 commit
-
-
Ruslan Baratov authored
-
- 13 Sep, 2016 1 commit
-
-
Ruslan Baratov authored
-
- 17 May, 2016 1 commit
-
-
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/).
-
- 21 Oct, 2015 1 commit
-
-
Since this command use 'readdir' under the hood the order of list is undefined: * http://stackoverflow.com/questions/8977441/does-readdir-guarantee-an-order
-
- 08 May, 2015 1 commit
-
-
Brad King authored
State explicitly that directory structure is preserved.
-
- 20 Mar, 2015 1 commit
-
-
GLOB lists directories by default and GLOB_RECURSE does not. LIST_DIRECTORIES enables user to control the behavior explicitly for consistently for both GLOB and GLOB_RECURSE.
-
- 27 Jan, 2015 1 commit
-
-
- 05 Dec, 2014 1 commit
-
-
Brad King authored
In commit v3.1.0-rc1~484^2 (Help: Format and revise file() command documentation, 2014-05-23) the signature of file(GENERATE) was accidentally simplified too much and dropped specification of the required argument ordering. Restore the signature to make the order clear.
-
- 03 Dec, 2014 1 commit
-
-
Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases.
-
- 06 Aug, 2014 1 commit
-
-
Support extraction of UTF-8 strings.
-
- 24 Jun, 2014 1 commit
-
-
Brad King authored
Create a variable to allow users to control which installation messages are printed. In particular, provide a "LAZY" setting that prints "Installing" messages but not "Up-to-date" messages. This is desirable for incremental re-installations. Suggested-by:
J Decker <d3ck0r@gmail.com>
-
- 05 Jun, 2014 1 commit
-
-
Stephen Kelly authored
-
- 23 May, 2014 1 commit
-
-
Brad King authored
Organize the documentation by sub-command to keep the signatures and their descriptions nearby. Use inline and explicit reST markup. Revise wording as necessary for the updated layout. Clarify behavior of the file(GENERATE) command w.r.t. conflicting file names.
-
- 15 Oct, 2013 1 commit
-
-
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
-