1. 31 Mar, 2019 1 commit
  2. 05 Mar, 2019 1 commit
  3. 25 Jan, 2019 1 commit
  4. 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
  5. 25 May, 2018 1 commit
    • Florian Maushart's avatar
      cmake: Add options for parallel builds to --build mode · 1ab3881e
      Florian Maushart authored
      While we already support `cmake --build . -- -j`, the options after `--`
      are specific to the native build tool.  Add new options `--parallel
      [<N>]` and `-j [<N>]` to abstract this and map to the proper option
      for the native build tool.
      1ab3881e
  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. 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
  8. 28 Aug, 2015 2 commits
  9. 27 May, 2015 2 commits
  10. 14 May, 2015 1 commit
  11. 28 Apr, 2015 1 commit
  12. 30 Mar, 2015 1 commit
    • Brad King's avatar
      Makefile: Tell GNU make to delete rule outputs on error (#15474) · 4adf1dad
      Brad King authored
      Add .DELETE_ON_ERROR to the "build.make" files that contain the actual
      build rules that generate files.  This tells GNU make to delete the
      output of a rule if the recipe modifies the output but returns failure.
      This is particularly useful for custom commands that use shell
      redirection to produce a file.
      
      Do not add .DELETE_ON_ERROR for Borland or Watcom make tools because
      they may not tolerate it and would not honor it anyway.  Other make
      tools that do not understand .DELETE_ON_ERROR will not be hurt.
      Suggested-by: Andrey Vihrov's avatarAndrey Vihrov <andrey.vihrov@gmail.com>
      4adf1dad
  13. 13 Oct, 2014 1 commit
  14. 08 Mar, 2014 1 commit
  15. 20 Dec, 2013 1 commit
    • Brad King's avatar
      Makefile: Allow "gmake target1 target2 -j" (#14312) · bd11de08
      Brad King authored
      Add the .NOTPARALLEL target to each local Makefile command-line
      interface entry point file so that even with -j we launch only
      one "make -f Makefile2" at a time.  The actual build rules
      in Makefile2 and lower will still run in parallel.
      
      Do not add .NOTPARALLEL for Borland or Watcom make tools because
      they do not tolerate it.  Other make tools that do not understand
      .NOTPARALLEL will not be hurt.
      Suggested-by: Robert Luberda's avatarRobert Luberda <robert-cmake@debian.org>
      bd11de08
  16. 19 Nov, 2012 2 commits
  17. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      
      Run the following shell code:
      
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
      7bbaa428
  18. 01 Oct, 2009 1 commit
  19. 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
  20. 28 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · 43de8c86
      Alexander Neundorf authored
      ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
      something like this:
      
      ENABLE_LANGUAGE(ASM-ATT)
      IF(CMAKE_ASM-ATT_COMPILER_WORKS)
        ... do assembler stufff
      ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
        ... fallback to generic C/C++
      ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)
      
      Alex
      43de8c86
  21. 10 Mar, 2006 1 commit
  22. 27 Aug, 2004 1 commit
  23. 07 Jul, 2003 1 commit
  24. 05 Dec, 2002 1 commit
  25. 23 Oct, 2002 1 commit
  26. 04 Sep, 2002 1 commit
  27. 30 Aug, 2002 1 commit