1. 12 Jul, 2017 1 commit
  2. 27 Jun, 2017 1 commit
    • Brad King's avatar
      VS: Fix support for nvcc flags not in our flag table · bbc1f364
      Brad King authored
      The change in commit v3.9.0-rc4~3^2 (VS: Improve workaround for CUDA
      -Xcompiler placement bug, 2017-06-21) accidentally appended to the
      `AdditionalOptions` as if it were a `;`-separated list, but it is
      actually a command-line string.  Append with a space instead.
      
      While at it, fix the same problem for the `AdditionalOptions` added to
      `CudaLink` by commit v3.9.0-rc3~1^2 (CUDA: When linking device code
      suppress CUDA 8.0+ deprecation warnings, 2017-06-09).
      
      Fixes: #17008
      bbc1f364
  3. 26 Jun, 2017 2 commits
  4. 22 Jun, 2017 3 commits
  5. 21 Jun, 2017 5 commits
  6. 20 Jun, 2017 1 commit
  7. 14 Jun, 2017 2 commits
  8. 13 Jun, 2017 3 commits
  9. 12 Jun, 2017 1 commit
  10. 10 Jun, 2017 1 commit
  11. 09 Jun, 2017 2 commits
    • Brad King's avatar
      CUDA: Add option to run the compiler through launcher tools · 414438b2
      Brad King authored
      Add a `CUDA_COMPILER_LAUNCHER` target property like those added for C
      and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler
      through tools like ccache or distcc, 2015-06-04).
      
      Fixes: #16953
      414438b2
    • 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
      82be694c
  12. 08 Jun, 2017 1 commit
  13. 05 Jun, 2017 2 commits
  14. 02 Jun, 2017 1 commit
  15. 31 May, 2017 2 commits
  16. 30 May, 2017 3 commits
  17. 29 May, 2017 2 commits
  18. 26 May, 2017 3 commits
  19. 23 May, 2017 2 commits
    • Alex Turbov's avatar
      Improve Doxygen support · 59ffabfe
      Alex Turbov authored
      Except Graphviz's `dot` Doxygen may use few other utilities like
      `mscgen` (Message Sequence Chart) and `dia` (Diagram Editor).
      
      Now this module allows to manage Doxygen settings from `CMakeLists.txt`
      and forget about `Doxyfile`s. Also it provides a helper function
      to add a target to generate documentation: `doxygen_add_docs`.
      
      Implement code review notes:
      
      - Introduce `COMPONENTS` to find: `dot`, `mscgen` and `dia`;
      - Deprecate variables `DOXYGEN_SKIP_DOT`, `DOXYGEN_EXECUTABLE`,
        `DOXYGEN_DOT_EXECUTABLE`, `DOXYGEN_DOT_FOUND` in favour of
        `doxygen_add_docs ` usage instead;
      - Properly handle paths to found tools in Windows;
      - Prevent adding a custom target if Doxygen was not really found;
      - Introduce exported (executable) targets for found components.
      
      Co-Author: Craig Scott <craig.scott@crascit.com>
      59ffabfe
    • Christoph Grüninger's avatar
      find_package: shorten output for missing package in config mode · d0b9d1cc
      Christoph Grüninger authored
      If CONFIG or MODULE is given and the package is not REQUIRED,
      output a one-liner instead of the full warning.
      
      Update Tests/RunCMake/find_package expected output to match.
      d0b9d1cc
  20. 22 May, 2017 2 commits
    • Matthew Woehlke's avatar
      Improve find_dependency argument handling · ab358d6a
      Matthew Woehlke authored
      Remove highly specialized and totally positional argument handling in
      find_dependency macro, and instead just pass arguments through to
      find_package. This gives users access to the full suite of arguments
      that find_package knows, and is backward compatible with the old
      arguments.
      
      Also, rewrite the unit tests for this, since the old tests are
      exclusively focused on testing the old argument handling and are no
      longer applicable, and add some success tests (the old tests did not
      even set up the CMake state in a way that CMake had any hope of ever
      finding the test package).
      ab358d6a
    • Brad King's avatar
      FindProtobuf: Rename imported targets to match upstream names · a5ccddf0
      Brad King authored
      Rename our recently added imported targets to match those provided by
      the upstream's CMake-based build.  That way a project using
      `find_package(Protobuf)` can get the same target names no matter how
      protobuf is found.
      Suggested-by: Konstantin Podsvirov's avatarKonstantin Podsvirov <konstantin@podsvirov.pro>
      a5ccddf0