1. 16 Jan, 2019 1 commit
  2. 26 May, 2017 1 commit
  3. 30 Oct, 2016 1 commit
  4. 26 Oct, 2016 1 commit
  5. 19 Oct, 2016 1 commit
  6. 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
  7. 15 Sep, 2016 1 commit
  8. 18 Jul, 2016 1 commit
  9. 28 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. 09 May, 2016 1 commit
    • Brad King's avatar
      Remove `//------...` horizontal separator comments · 0ac18d40
      Brad King authored
      Modern editors provide plenty of ways to visually separate functions.
      Drop the explicit comments that previously served this purpose.
      Use the following command to automate the change:
      
          $ git ls-files -z -- \
              "*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" |
            egrep -z -v "^Source/cmCommandArgumentLexer\." |
            egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" |
            egrep -z -v "^Source/cmDependsJavaLexer\." |
            egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" |
            egrep -z -v "^Source/cmExprLexer\." |
            egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" |
            egrep -z -v "^Source/cmFortranLexer\." |
            egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" |
            egrep -z -v "^Source/cmListFileLexer\." |
            egrep -z -v "^Source/cm_sha2" |
            egrep -z -v "^Source/(kwsys|CursesDialog/form)/" |
            egrep -z -v "^Utilities/(KW|cm).*/" |
            xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}'
      
      This avoids modifying third-party sources and generated sources.
      0ac18d40
  12. 05 Oct, 2015 1 commit
  13. 12 May, 2015 2 commits
  14. 03 May, 2015 1 commit
  15. 13 Apr, 2015 1 commit
  16. 11 Jan, 2015 1 commit
  17. 11 Mar, 2014 1 commit
    • Stephen Kelly's avatar
      Remove some c_str() calls. · 21c573f6
      Stephen Kelly authored
      Use the clang RemoveCStrCalls tool to automatically migrate the
      code. This was only run on linux, so does not have any positive or
      negative effect on other platforms.
      21c573f6
  18. 08 Mar, 2014 2 commits
  19. 15 Nov, 2013 1 commit
    • Brad King's avatar
      build_command: Return a "cmake --build" command-line · bca67c71
      Brad King authored
      Re-implement the build_command() command to use "cmake --build" instead
      of generating a native build tool invocation directly.  This command
      will internally invoke the proper native build tool.
      
      This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce
      a string so that it can be later refactored to produce a vector with no
      quoting or escaping.  It will also allow us to later teach CMake to
      delay the decision about which build tool to invoke until after the
      project build system is generated to disk.  For example, on Visual
      Studio 10 and above the preferred command-line tool is MSBuild, but we
      need to fall back to devenv if the .sln has Intel Fortran .vfproj files.
      bca67c71
  20. 12 Apr, 2013 1 commit
    • Petr Kmoch's avatar
      Add projectDir parameter to GenerateBuildCommand · de8be9ef
      Petr Kmoch authored
      Extend the cmGlobalGenerator::GenerateBuildCommand virtual method
      signature with a "projectDir" parameter specifying the top of the
      project build tree for which the build command will be generated.
      Populate it from call sites in cmGlobalGenerator::Build where a
      fully-generated build tree should be available.
      de8be9ef
  21. 12 Mar, 2013 1 commit
  22. 28 Jan, 2010 1 commit
  23. 04 Dec, 2009 1 commit
    • David Cole's avatar
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of... · 0b38bb4c
      David Cole authored
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
      0b38bb4c
  24. 01 Oct, 2009 1 commit
  25. 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
  26. 23 Jan, 2008 1 commit
  27. 09 Jul, 2006 1 commit
  28. 01 Jun, 2006 1 commit
  29. 15 Mar, 2006 1 commit
  30. 10 Mar, 2006 1 commit
  31. 01 Dec, 2005 1 commit
  32. 10 May, 2005 1 commit
  33. 29 Apr, 2005 1 commit
  34. 23 Mar, 2005 1 commit
  35. 23 Oct, 2002 1 commit
  36. 05 Mar, 2002 1 commit
  37. 25 Feb, 2002 1 commit
  38. 21 Jan, 2002 1 commit