1. 24 Aug, 2018 1 commit
  2. 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
  3. 26 Aug, 2017 1 commit
  4. 11 May, 2017 1 commit
  5. 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
  6. 26 Oct, 2016 1 commit
  7. 22 Oct, 2016 1 commit
  8. 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
  9. 27 Jun, 2016 1 commit
  10. 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
  11. 08 Mar, 2014 1 commit
  12. 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
  13. 15 Jul, 2013 1 commit
    • Brad King's avatar
      try_compile: Add COPY_FILE_ERROR option to capture failure · c28715b1
      Brad King authored
      When the COPY_FILE operation fails optionally capture the error message
      with a COPY_FILE_ERROR option instead of reporting the error
      immediately.  This gives callers a chance to do something else or report
      the error.
      
      Teach the RunCMake.try_compile test to cover bad argument combinations
      involving COPY_FILE_ERROR.  Teach the TryCompile test to cover the case
      of a COPY_FILE error message captured by COPY_FILE_ERROR.
      c28715b1
  14. 06 Jun, 2013 1 commit
    • Brad King's avatar
      try_compile: Add signature to allow multiple SOURCES · 482f1122
      Brad King authored
      Extend the signature
      
       try_compile(RESULT_VAR <bindir> <srcfile> ...)
      
      to allow multiple sources as
      
       try_compile(RESULT_VAR <bindir> SOURCES <srcfile>... ...)
      
      Process the sources to generate a CMakeLists.txt that enables all needed
      languages.
      
      Teach the TryCompile test to try cases with two sources of the same
      language and of mixed languages.  Teach RunCMake.try_compile to cover
      error cases for the signature.
      482f1122
  15. 22 Feb, 2013 1 commit
    • Stephen Kelly's avatar
      Handle targets in the LINK_LIBRARIES of try_compile. · 236133e7
      Stephen Kelly authored
      Imported targets are re-exported so that they can be used by the
      try_compile generated code with target_link_libraries.
      
      This makes the use of the cmake_expand_imported_targets macro
      obsolete. The macro is not able to expand the generator expressions
      which may appear in the IMPORTED_LINK_INTERFACE_LIBRARIES content.
      Instead it just sees them as 'not a target'.
      236133e7
  16. 29 Feb, 2012 1 commit
  17. 12 Jul, 2011 1 commit
  18. 12 Apr, 2011 1 commit
  19. 17 Jan, 2011 1 commit
  20. 12 Jan, 2011 1 commit
    • Brad King's avatar
      Document try_compile behavior more clearly (#11688) · 4da2a568
      Brad King authored
      Explicitly state up front that the source-file form of the command links
      an executable and expects a 'main' to be defined.  While at it, update
      the command signature documentation to use a syntax more consistent with
      other commands.  Also tweak some wording.
      4da2a568
  21. 01 Oct, 2009 1 commit
  22. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  23. 23 Jan, 2008 1 commit
  24. 09 Jan, 2008 1 commit
  25. 10 Oct, 2007 1 commit
  26. 20 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 55303d6d
      Alexander Neundorf authored
      STYLE: fix line lengths
      
      Alex
      55303d6d
  27. 24 May, 2007 3 commits
    • Alexander Neundorf's avatar
      · 7147c3e1
      Alexander Neundorf authored
      ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
      be used e.g. for getting strings out of it.
      
      Alex
      7147c3e1
    • Alexander Neundorf's avatar
      · 7d7aba29
      Alexander Neundorf authored
      ENH: add two simple tests for TRY_RUN()
      STYLE: create a new base class cmCoreTryCompile, from which
      cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
      static functions with lots of arguments anymore
      
      Alex
      7d7aba29
    • Alexander Neundorf's avatar
      · 00e6d62f
      Alexander Neundorf authored
      ENH: move output file search to cmTryCompileCommand.cxx, so it can be used
      there too... many public static functions with lots of arguments... :-/
      
      Alex
      00e6d62f
  28. 18 May, 2007 1 commit
  29. 12 May, 2006 1 commit
  30. 10 Mar, 2006 1 commit
  31. 12 Jan, 2006 1 commit
  32. 17 Nov, 2005 1 commit
  33. 19 Jul, 2005 1 commit
  34. 11 Dec, 2003 1 commit
  35. 30 Oct, 2003 1 commit
  36. 10 Aug, 2003 1 commit
  37. 14 Feb, 2003 1 commit