1. 03 Aug, 2017 1 commit
    • Ruslan Baratov's avatar
      Help: Document that file(GLOB) result is sorted · 75ca5f04
      Ruslan Baratov authored and Brad King's avatar Brad King committed
      It has been sorted since commit v3.6.0-rc1~54^2 (file: Sort GLOB results
      to make it deterministic, 2016-05-14).  That commit left the order
      unspecified in the documentation, but has been stable long enough to
      document now.
  2. 07 Jul, 2017 1 commit
  3. 09 Jun, 2017 1 commit
    • Brad King's avatar
      file(GENERATE): Add policy CMP0070 to define relative path behavior · 82be694c
      Brad King authored
      Previously `file(GENERATE)` did not define any behavior for relative
      paths given to the `OUTPUT` or `INPUT` arguments.  Define behavior
      consistent with CMake conventions and add a policy to provide
      compatibility for projects that relied on the old accidental behavior.
      Fixes: #16786
  4. 10 Apr, 2017 1 commit
  5. 10 Nov, 2016 1 commit
  6. 01 Nov, 2016 1 commit
  7. 15 Sep, 2016 1 commit
  8. 13 Sep, 2016 1 commit
  9. 17 May, 2016 1 commit
    • Reiner Herrmann's avatar
      file: Sort GLOB results to make it deterministic (#14491) · edcccde7
      Reiner Herrmann authored and Brad King's avatar Brad King committed
      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
  10. 21 Oct, 2015 1 commit
  11. 08 May, 2015 1 commit
  12. 20 Mar, 2015 1 commit
  13. 27 Jan, 2015 1 commit
  14. 05 Dec, 2014 1 commit
    • Brad King's avatar
      Help: Document file(GENERATE) signature option order · fe21580b
      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
  15. 03 Dec, 2014 1 commit
    • Ruslan Baratov's avatar
      file: Add LOCK subcommand to do file and directory locking · e6db4c5a
      Ruslan Baratov authored and Brad King's avatar Brad King committed
      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.
  16. 06 Aug, 2014 1 commit
  17. 24 Jun, 2014 1 commit
  18. 05 Jun, 2014 1 commit
  19. 23 May, 2014 1 commit
    • Brad King's avatar
      Help: Format and revise file() command documentation · d74ed543
      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.
  20. 15 Oct, 2013 1 commit