Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

  1. 13 Jun, 2019 1 commit
  2. 21 May, 2019 1 commit
  3. 18 Apr, 2019 2 commits
  4. 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.
  5. 16 Jan, 2019 1 commit
  6. 14 Nov, 2018 1 commit
  7. 14 Aug, 2018 1 commit
  8. 01 Jun, 2018 1 commit
  9. 21 Nov, 2017 2 commits
  10. 15 Sep, 2016 1 commit
    • Pierluigi Taddei's avatar
      find_package: Optionally sort globbed directories in a meaningful order · 31be918b
      Pierluigi Taddei authored
      Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
      sort order and direction.
      When multiple package with the same name have been found in the same
      location sorting option can be used to force a specific version to be
      loaded (e.g. libA_1.12.0 instead of libA_1.1.0).  Currently sorting by
      NAME and by NATURAL order have been implemented.
      Natural ordering makes use of the `strverscmp(3)` ordering.
  11. 24 Aug, 2016 1 commit
  12. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
  13. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
  14. 14 May, 2015 1 commit
  15. 17 Apr, 2015 1 commit
    • Stephen Kelly's avatar
      FPHSA: Always populate the ExactCase_FOUND variable (#15412). · d1a6d15b
      Stephen Kelly authored
      The UPPERCASE name was inconsistent with config-packages, the
      find_dependency macro, and even FPHSA itself, which expects
      components to be specified with names matching ExactCase.
      The FOUND_VAR was only permitted to have two possible values, and
      now both are set for compatibility.  Document it as obsolete, and
      adjust the code for the same.  Users of the variable should just
      remove it.
  16. 11 Aug, 2014 1 commit
  17. 12 May, 2014 3 commits
    • Daniele E. Domenichelli's avatar
      Allow the Package Registry to be disabled (#14849) · be8ae960
      Daniele E. Domenichelli authored
      When a project is packaged for redistribution the local package
      registries should not be updated or consulted.  They are for developers.
      Add variables to disable use of package registries globally:
      * CMAKE_EXPORT_NO_PACKAGE_REGISTRY that disables the export(PACKAGE)
      * CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY that disables the User Package
        Registry in all the find_package calls.
        System Package Registry in all the find_package calls.
      Update documentation and unit tests.
    • Brad King's avatar
      Tests: Improve FindPackageTest for in-source builds · d09fda5d
      Brad King authored
      Use a different directory name for the Exporter build tree so that it is
      out-of-source even when the main test is in-source.
    • Brad King's avatar
      Tests: Improve FindPackageTest exported package version · ac24a1c0
      Brad King authored
      Add a random version component so that the test is unlikely to conflict
      with other tests of the same CMake version on the same machine.
  18. 04 Mar, 2014 1 commit
    • Brad King's avatar
      CMP0017: Fix check when including from CMake source tree · 7e187eea
      Brad King authored
      When running CMake from the build tree the CMAKE_ROOT is the
      entire source tree.  Fix the CMP0017 check to be specific to
      the Modules/ directory under CMAKE_ROOT so that Tests/ does
      not count.  Fix the FindPackageTest modules to include FPHSA
      by full path from CMAKE_ROOT so that they do not include the
      local FPHSA which reports an error meant to test that CMP0017
  19. 22 Feb, 2013 1 commit
  20. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      Run the following shell code:
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  21. 23 May, 2012 1 commit
  22. 19 Mar, 2012 2 commits
    • Alexander Neundorf's avatar
      add macro check_required_components() to configure_package_config_file() · d81d83c2
      Alexander Neundorf authored
      As discussed on cmake-developers, this patch adds a macro
      check_required_components() to the file configured via
      configure_package_config_file(), so for proper handling
      of components in Config.cmake files users can simply call
      and this will do the right thing.
    • Alexander Neundorf's avatar
      FPHSA(): add HANDLE_COMPONENTS option · b15c0b41
      Alexander Neundorf authored
      if the HANDLE_COMPONENTS is used, FPHSA() now also checks all required COMPONENTS,
      i.e. all elements from <name>_FIND_COMPONENTS for which <name>_FIND_REQUIRED_<comp>
      is true, and sets <name>_FOUND only to true if all have been found.
      As discussed on cmake-developers.
  23. 13 Mar, 2012 1 commit
  24. 10 Mar, 2012 1 commit
  25. 07 Mar, 2012 2 commits
  26. 05 Aug, 2011 1 commit
  27. 01 Aug, 2011 1 commit
  28. 23 Jun, 2011 1 commit
  29. 08 Jun, 2011 1 commit
  30. 14 Apr, 2011 1 commit
    • Brad King's avatar
      find_package: Fix system package registry test path conversion · 08b93977
      Brad King authored
      Do not use file(TO_NATIVE_PATH) to compute the value to store in the
      registry.  It is meant for constructing values to be put in shells.
      Since find_package() can use the value with CMake-normalized slashes do
      not bother with any conversion.
  31. 13 Apr, 2011 1 commit
  32. 07 Apr, 2011 1 commit
    • Brad King's avatar
      find_package: Forward component list for recursive calls in modules · 9fc7ea4c
      Brad King authored
      Some find modules call find_package recursively to locate a package
      configuration file for the package instead of searching for individual
      pieces.  Commit 79e9b755 (Help recursive find_package calls in modules,
      2008-10-03) taught find_package to forward the version number and EXACT
      arguments through the recursive call automatically.  Do the same for the
      component list.
  33. 04 Jan, 2011 1 commit