1. 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
  2. 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
  3. 27 May, 2015 1 commit
  4. 19 May, 2015 1 commit
  5. 28 Apr, 2015 1 commit
  6. 13 Oct, 2014 1 commit
  7. 17 Jul, 2014 2 commits
  8. 08 Mar, 2014 1 commit
  9. 05 Aug, 2013 1 commit
    • Patrick Gansterer's avatar
      VS: Replace ArchitectureId with PlatformName · b02f09d4
      Patrick Gansterer authored
      Since we do not need the information about the target architecture
      we can use the PlatformName only to specify the this information.
      This also removes setting of the MSVC_*_ARCHITECTURE_ID variable
      which is not required, because this variable gets set by the
      compiler detection code in CMAKE_DETERMINE_COMPILER_ID_CHECK().
      b02f09d4
  10. 27 Nov, 2012 1 commit
  11. 19 Nov, 2012 3 commits
  12. 22 Aug, 2012 1 commit
  13. 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
  14. 01 Oct, 2009 1 commit
  15. 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
  16. 16 Sep, 2009 1 commit
    • Brad King's avatar
      Create VS generator GetRegistryBase method · 09e398fa
      Brad King authored
      This method returns the registry key
      
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version>
      
      A protected GetIDEVersion method retrieves the version-specific part of
      the key name.
      09e398fa
  17. 15 Feb, 2008 1 commit
    • David Cole's avatar
      ENH: Add code to support calling the VS reload macro from Visual Studio 7.1... · ca2a16c0
      David Cole authored
      ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too.
      ca2a16c0
  18. 18 Jan, 2008 1 commit
  19. 16 Nov, 2007 1 commit
    • David Cole's avatar
      ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual... · 867de7fc
      David Cole authored
      ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
      867de7fc
  20. 17 Sep, 2007 1 commit
  21. 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
  22. 11 May, 2006 1 commit
  23. 30 Mar, 2006 1 commit
  24. 10 Mar, 2006 1 commit
  25. 17 Jan, 2006 1 commit
  26. 22 Dec, 2005 1 commit
  27. 12 May, 2005 1 commit
  28. 27 Aug, 2004 1 commit
  29. 07 Jul, 2003 1 commit
  30. 05 Dec, 2002 1 commit
  31. 08 Nov, 2002 1 commit
  32. 23 Oct, 2002 1 commit
  33. 13 Sep, 2002 2 commits
  34. 30 Aug, 2002 1 commit