1. 09 Sep, 2016 1 commit
  2. 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
  3. 25 Feb, 2016 1 commit
  4. 20 Mar, 2015 1 commit
  5. 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.
  6. 24 Jun, 2014 2 commits
  7. 20 May, 2014 1 commit