1. 14 Mar, 2018 1 commit
    • Brad King's avatar
      target_compile_options: Add syntax to specify shell strings · ce0b9832
      Brad King authored
      Options specified via `COMPILE_OPTIONS` and `INTERFACE_COMPILE_OPTIONS`
      are deduplicated, but individual options can legitimately be duplicated
      when grouped with other options, e.g.
          -D A -D B
      After deduplication that becomes `-D A B`.  Therefore we need a way to
      treat groups of options as units during deduplication.  A simple approach
      is to specify each group as one option, e.g.
          "-D A" "-D B"
      However, that conflicts with options that legitimately have spaces.  To
      break this ambiguity, add a `SHELL:` prefix syntax to specify that an
      option should be parsed like shell command line arguments after
      deduplication, e.g.
          "SHELL:-D A" "SHELL:-D B"
      These will survive deduplication intact, and then be parsed to produce
      `-D A -D B` on the final command line.
      Fixes: #15826
  2. 13 Mar, 2018 1 commit
    • Craig Scott's avatar
      Help: Fix incorrect CMAKE_PROJECT_xxx docs · 6a2a9d10
      Craig Scott authored
      were erroneously documenting the behavior of PROJECT_NAME and
      PROJECT_DESCRIPTION respectively. Fix these and update the
      project() docs to also mention CMAKE_PROJECT_NAME and
      Fixes: #17815
  3. 01 Mar, 2018 1 commit
  4. 28 Feb, 2018 1 commit
    • Brad King's avatar
      install,export: Maybe transform OBJECT libraries to INTERFACE libraries · ea0ce73a
      Brad King authored
      Teach the `install` and `export` commands to support installing and
      exporting `OBJECT` libraries without their object files.  Transform
      them to `INTERFACE` libraries in such cases.
      For `install(TARGETS)`, activate this when no destination for the object
      files is specified.  For `export`, activate this only under Xcode with
      multiple architectures when we have no well-defined object file
      locations to give to clients.
  5. 16 Feb, 2018 1 commit
    • Alex Turbov's avatar
      string: Add JOIN subcommand · 689eeb67
      Alex Turbov authored
      This is just like CONCAT but accepts a glue string to put between
      each value.  `JOIN ""` is equivalent to `CONCAT`.
  6. 15 Feb, 2018 1 commit
  7. 11 Feb, 2018 1 commit
  8. 04 Feb, 2018 1 commit
  9. 29 Jan, 2018 1 commit
  10. 16 Jan, 2018 1 commit
  11. 08 Jan, 2018 1 commit
  12. 03 Jan, 2018 1 commit
  13. 27 Dec, 2017 1 commit
    • Craig Scott's avatar
      execute_process: Allow UTF-8 as a synonym for the UTF8 keyword · 8caec41e
      Craig Scott authored
      UTF-8 is the proper naming according to the UTF-8 RFC and is also the
      name used for a similar keyword in the file() command. This commit
      brings (backward compatible) consistency to the keyword names and allows
      the standard UTF-8 name to be used with execute_process(). The old UTF8
      keyword is still supported.
  14. 06 Dec, 2017 1 commit
  15. 01 Dec, 2017 1 commit
  16. 03 Nov, 2017 1 commit
    • luz.paz's avatar
      Fix trivial typos in text · 777e87ae
      luz.paz authored
      Some are user facing.
      Found using
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      whereby the whitelist contained:
  17. 31 Oct, 2017 1 commit
  18. 26 Oct, 2017 2 commits
  19. 24 Oct, 2017 1 commit
    • Deniz Bahadir's avatar
      Defer check for sources within a target until generation. · 4e7f6738
      Deniz Bahadir authored
      The `add_library` and `add_executable` commands can now be called with
      no source-files and won't generate a warning or error message, as long
      as source-files will be added later via the `target_sources` command.
      If during the generation step still no sources are associated with
      targets created by such calls a useful error message will be generated
      and generation fails.
      Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are
      excluded from this check because we do not need sources for these target
      types during generation.
      Fixes: #16872
  20. 20 Oct, 2017 1 commit
  21. 18 Oct, 2017 1 commit
  22. 07 Sep, 2017 1 commit
  23. 04 Sep, 2017 1 commit
  24. 18 Aug, 2017 1 commit
  25. 11 Aug, 2017 1 commit
  26. 08 Aug, 2017 1 commit
    • Brad King's avatar
      find_*: Disable the PACKAGE_ROOT search path group for CMake 3.9 · 578d95f8
      Brad King authored
      Disable the feature added by commit v3.9.0-rc1~71^2~2 (find_*: Add a new
      PackageRoot search path group, 2017-05-03) and remove documentation
      added by commit v3.9.0-rc1~71^2 (find_*: Add docs for PackageRoot search
      path group, 2017-05-03).  Unfortunately the name `<pkg>_ROOT` may
      already be set by projects for their own incompatible purposes.  Disable
      the behavior change for now to fix the regression for CMake 3.9.  We can
      restore it later with a policy.
      In order to keep the implementation and tests working, add an
      undocumented variable we can use in the tests to enable the behavior
      before the policy is introduced.
      Fixes: #17144
  27. 03 Aug, 2017 2 commits
  28. 07 Jul, 2017 1 commit
  29. 04 Jul, 2017 1 commit
  30. 22 Jun, 2017 1 commit
  31. 10 Jun, 2017 1 commit
  32. 09 Jun, 2017 1 commit
  33. 05 Jun, 2017 1 commit
  34. 19 May, 2017 1 commit
  35. 14 May, 2017 1 commit
  36. 09 May, 2017 1 commit
  37. 04 May, 2017 1 commit
    • Zack Galbreath's avatar
      ctest_submit: Add HTTPHEADER option · 1a7d00bd
      Zack Galbreath authored
      Allow CTest script writers to specify additional HTTP headers to be sent
      to CDash during submission.
      The motivating case for this feature is a corresponding change in CDash.
      This will allow projects to refuse submissions from any site not bearing
      a valid authentication token.
  38. 01 May, 2017 1 commit