1. 11 Apr, 2017 1 commit
    • 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
  2. 22 Nov, 2016 1 commit
  3. 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 lin...
      86578ecc
  4. 22 Jul, 2016 1 commit
  5. 07 Jun, 2016 1 commit
  6. 03 Jun, 2016 1 commit
  7. 01 Jun, 2016 1 commit
  8. 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
  9. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
      180538c7
  10. 12 Jan, 2015 1 commit
  11. 11 Jan, 2015 1 commit
  12. 08 Mar, 2014 2 commits
  13. 31 Oct, 2012 1 commit
    • Clinton Stimpson's avatar
      PackageMaker: Enable postflight script in component mode (#12375) · 4374441f
      Clinton Stimpson authored
      Previously, setting CPACK_POSTFLIGHT_SCRIPT had no effect in
      component mode, when CPACK_COMPONENTS_ALL was set.
      
      In component mode, a .mpkg is created that contains multiple .pkg's.
      Because postflight scripts only work in a .pkg, add another .pkg to the
      .mpkg and put the postflight script in that.
      This is the same approach taken by the PackageMaker GUI when adding
      a postflight script to a metapackage.
      4374441f
  14. 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
  15. 11 Aug, 2010 1 commit
    • Eric Noulard's avatar
      CPack: Refactor API in order to handle multi-file packages · cd7b8a03
      Eric Noulard authored
      The multi-argument CompressFiles(...) method has been replace by the
      no-argument PackageFiles() method and 3 more member variables.  This
      will enable implemention of multi-package generators.  Now each specific
      generator (which overloads PackageFiles()) may decide to change the name
      and/or the number of generated package files.
      cd7b8a03
  16. 01 Oct, 2009 1 commit
  17. 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
  18. 30 Jul, 2008 1 commit
  19. 09 Jul, 2008 1 commit
  20. 18 Jun, 2008 1 commit
  21. 17 Jun, 2008 1 commit
    • David Cole's avatar
      ENH: Add patch for feature request #6847 - CPack components for NSIS and... · 1105a86c
      David Cole authored
      ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available.
      1105a86c
  22. 19 Feb, 2008 1 commit
  23. 05 Nov, 2007 2 commits
  24. 31 Oct, 2007 1 commit
    • David Cole's avatar
      ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in... · 5beb1da7
      David Cole authored
      ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator.
      5beb1da7
  25. 02 Feb, 2007 1 commit
  26. 15 Apr, 2006 1 commit
  27. 08 Mar, 2006 1 commit
  28. 03 Mar, 2006 1 commit
  29. 10 Jan, 2006 1 commit
  30. 02 Jan, 2006 1 commit
  31. 01 Jan, 2006 1 commit