1. 13 Jun, 2019 1 commit
  2. 20 May, 2019 1 commit
  3. 31 Jan, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 14 Nov, 2018 1 commit
    • Kyle Edwards's avatar
      find_package(): Add policy to remove the FindQt module · 0f5c1b40
      Kyle Edwards authored
      Removing FindQt.cmake gives Qt upstream a path forward to export its
      own QtConfig.cmake files which can be found by find_package()
      without having to explicitly specify CONFIG. Projects that still
      want to use Qt3/4 can call find_package(Qt[34]), include(FindQt),
      or add FindQt.cmake to their CMAKE_MODULE_PATH.
      0f5c1b40
  6. 07 Aug, 2018 1 commit
    • Brad King's avatar
      IWYU: Fix workaround mapping for std::hash · aefb8559
      Brad King authored
      It is provided by `functional`, not `utility`.  Fix the mapping added by
      commit 276d3c7a (IWYU: Add workaround mapping for std::hash,
      2018-07-31).  Also generalize the workaround from commit v3.12.0-rc1~39^2~1
      (IWYU: Define a macro to tell code it is preprocessing for iwyu,
      2018-05-25) to allow local builds to configure specific flags.  This
      is needed because iwyu behaves differently in different environments.
      aefb8559
  7. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 6.0.
      
      * 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.
      d7204e64
  8. 25 May, 2018 1 commit
  9. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
      
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
      0b33aee4
  10. 26 Aug, 2017 1 commit
  11. 28 Jul, 2017 1 commit
  12. 11 May, 2017 1 commit
  13. 08 May, 2017 1 commit
  14. 11 Apr, 2017 2 commits
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
    • Daniel Pfeifer's avatar
      cmConfigure: Ensure separate include block in headers · 5afac50f
      Daniel Pfeifer authored
      Make sure that `#include <cmConfigure.h>` is followed by an empty line
      in header files.  This is necessary to make sure that changing <> to ""
      does not affect the include ordering of clang-format.
      
      Automate with:
      
      git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
      | xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
      5afac50f
  15. 07 Mar, 2017 1 commit
    • Steven Newbury's avatar
      Add support for x32-abi · 462cf254
      Steven Newbury authored
      Detect x32-abi through CMakeCompilerABI infrastruture and use this
      information at runtime to determine the correct library paths with
      `FIND_LIBRARY_USE_LIBX32_PATHS`.
      
      Fixes: #15994
      462cf254
  16. 26 Oct, 2016 1 commit
  17. 22 Oct, 2016 1 commit
  18. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
      86578ecc
  19. 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.
      31be918b
  20. 27 Jun, 2016 1 commit
  21. 13 Jun, 2016 1 commit
  22. 10 Jun, 2016 1 commit
  23. 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.
      d9fd2f54
  24. 18 Dec, 2015 1 commit
  25. 08 May, 2015 1 commit
    • Brad King's avatar
      find_package: Drop search in recent cmake-gui locations · 1506f9ca
      Brad King authored
      The find_package command, on Windows, has always searched build trees
      recently visited by cmake-gui (or CMakeSetup at one time).  This was
      done when the command was created with the intention of simplifying
      workflows involving building multiple dependent projects.  However,
      this behavior depends on recent developer interaction and therefore
      can create different find results based on transient system states.
      It can lead to surprising results and user confusion.
      
      Since this behavior was first added CMake has gained many more search
      options, better error messages when a package is not found, and a
      package registry.  The latter in particular allows projects to make
      their build trees available for dependent projects to find without
      user intervention.  Therefore the originally intended workflow can
      be achieved in other, more stable ways.
      
      After the above evoluion of find_package we have now decided that
      the magic search-where-cmake-gui-was behavior does more harm than
      good.  Drop it.  We do not need a policy for this behavior change
      because it only affects interactive use.
      1506f9ca
  26. 12 Nov, 2014 1 commit
    • Chuck Atkins's avatar
      Use containers of labeled search paths instead of individual members · 1abd7cd9
      Chuck Atkins authored
      Manage classes of search paths in labeled containers.  This removes the
      need to have a seperate member variable for each type of search path, but
      also allows path types to be grouped togethor in various different ways
      and manipulated as subsets of the full set of search paths.
      1abd7cd9
  27. 11 Nov, 2014 2 commits
  28. 08 Mar, 2014 3 commits
    • Ben Boeckel's avatar
      stringapi: Command names · 85fc9f26
      Ben Boeckel authored
      85fc9f26
    • Ben Boeckel's avatar
      strings: Remove cmStdString references · 270eb96d
      Ben Boeckel authored
      Casts from std::string -> cmStdString were high on the list of things
      taking up time. Avoid such implicit casts across function calls by just
      using std::string everywhere.
      
      The comment that the symbol name is too long is no longer relevant since
      modern debuggers alias the templates anyways and the size is a
      non-issue since the underlying methods are generated since it's
      inherited.
      270eb96d
    • Ben Boeckel's avatar
      stringapi: Use strings for variable names · 3742bb0d
      Ben Boeckel authored
      Variable names are always generated by CMake and should never be NULL.
      3742bb0d
  29. 10 Feb, 2014 1 commit
    • Brad King's avatar
      cmVersion: Fix CMake_VERSION_ENCODE for date in patch level · d2059d25
      Brad King authored
      Use a uint64_t to store encoded version numbers so we have plenty of
      bits available.  Encode with room for up to 1000 minor releases between
      major releases and to encode dates until the year 10000 in the patch
      level.  This is necessary because CMake development versions prior to
      release 2.8.0 used the date in the patch level, and this practice may be
      restored after the 3.0 release.
      d2059d25
  30. 23 Oct, 2013 1 commit
    • Brad King's avatar
      Drop compatibility with CMake < 2.4 · 7d47c693
      Brad King authored
      Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to
      a value lower than 2.4, and generate an error when projects or the user
      attempt to do so.  In the error suggest using a CMake 2.8.x release.
      
      Teach cmake_minimum_required to warn about projects that do not require
      at least CMake 2.4.  They are not supported by CMake >= 3.0.
      
      Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a
      reference to policy CMP0001.
      7d47c693
  31. 16 Oct, 2013 1 commit
    • Brad King's avatar
      Drop builtin command documentation · e33d8d2d
      Brad King authored
      Drop all GetTerseDocumentation and GetFullDocumentation methods from
      commands.  The command documentation is now in Help/command/*.rst files.
      e33d8d2d
  32. 06 May, 2012 1 commit
  33. 29 Feb, 2012 1 commit
  34. 28 Feb, 2012 2 commits
  35. 27 Feb, 2012 1 commit