1. 21 Jun, 2019 1 commit
  2. 10 Jun, 2019 1 commit
  3. 07 Jun, 2019 1 commit
    • Sergey Bobrenok's avatar
      add_test: Add COMMAND_EXPAND_LISTS option · e791ffac
      Sergey Bobrenok authored
      Add a `COMMAND_EXPAND_LISTS` option to the `add_test` command to cause
      `;`-separated lists produced by generator expressions to be expanded
      into multiple arguments.  The `add_custom_command` command already
      has such an option.
      
      Fixes: #17284
      e791ffac
  4. 02 Jun, 2019 1 commit
  5. 26 May, 2019 1 commit
  6. 21 May, 2019 2 commits
    • Cristian Adam's avatar
      find_package: Add option to prefer Config mode · 26a99da2
      Cristian Adam authored
      Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell
      `find_package` calls to look for a package configuration file
      first even if a find module is available.
      
      Fixes: #16805, #19236
      26a99da2
    • Brad King's avatar
      file: Change REMOVE to ignore empty names · a1eb0356
      Brad King authored
      Previously code like
      
          file(REMOVE_RECURSE "${accidentally_missing_variable}")
      
      treated the empty string as a relative path with respect to the
      current directory and removed its contents.  Change this behavior
      to ignore the empty string with a warning instead.
      
      Normally such behavior changes are done with a policy, but in this case
      such code is likely a real bug in project code that can delete data.
      
      Fixes: #19274
      a1eb0356
  7. 16 May, 2019 1 commit
  8. 14 May, 2019 1 commit
    • Rosen Matev's avatar
      Support job pools in custom commands and targets · 9f76961d
      Rosen Matev authored
      Provide a way for custom commands and targets to set the pool variable
      of the ninja build statement. Setting `JOB_POOL` is not compatible with
      `USES_TERMINAL`, which implies the `console` pool.
      
      The option is silently ignored with other generators.
      
      Closes: #18483
      9f76961d
  9. 06 May, 2019 1 commit
  10. 05 May, 2019 1 commit
  11. 03 May, 2019 1 commit
  12. 28 Apr, 2019 1 commit
  13. 23 Apr, 2019 1 commit
  14. 19 Apr, 2019 1 commit
    • Bill Hoffman's avatar
      execute_process: Add option to echo command lines · 044dcf9f
      Bill Hoffman authored
      Add COMMAND_ECHO option to the execute_process command. This will allow
      execute_process to show the command it will run. Also add a cmake variable
      CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can
      be set to one of the following: STDERR|STDOUT|NONE. The command will be
      printed to stderr or stdout or not at all.
      
      Fixes: #18933
      044dcf9f
  15. 17 Apr, 2019 1 commit
    • Brad King's avatar
      MSVC: Add abstraction for runtime library selection · fb3370b6
      Brad King authored
      Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class
      abstraction to select the runtime library from an enumeration of logical
      names.  We've long hesitated to do this because the idea of "runtime
      library selection" touches on related concepts on several platforms.
      Avoid that scope creep by simply defining an abstraction that applies
      only when targeting the MSVC ABI on Windows.
      
      Removing the old default flags requires a policy because existing
      projects may rely on string processing to edit them and choose a runtime
      library under the old behavior.  Add policy CMP0091 to provide
      compatibility.
      
      Fixes: #19108
      fb3370b6
  16. 15 Apr, 2019 1 commit
  17. 11 Apr, 2019 1 commit
  18. 08 Apr, 2019 2 commits
  19. 04 Apr, 2019 1 commit
  20. 03 Apr, 2019 1 commit
  21. 01 Apr, 2019 1 commit
  22. 27 Mar, 2019 2 commits
  23. 22 Mar, 2019 1 commit
  24. 20 Mar, 2019 3 commits
  25. 15 Mar, 2019 1 commit
    • Robert Maynard's avatar
      export: Disable PACKAGE mode user package registry by default · 9bede5c4
      Robert Maynard authored
      The user package registry populated by the `export()` command causes
      side effects outside the build and source directories.  Such effects
      should be opt-in rather than op-out.  Introduce a policy to change
      default behavior of `export(PACKAGE)` to do nothing.
      9bede5c4
  26. 07 Mar, 2019 3 commits
  27. 05 Mar, 2019 2 commits
  28. 28 Feb, 2019 2 commits
  29. 27 Feb, 2019 2 commits
  30. 24 Feb, 2019 1 commit