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.
  2. 15 Aug, 2016 1 commit
  3. 24 Feb, 2016 1 commit
  4. 23 Nov, 2013 1 commit
    • Alexander Neundorf's avatar
      Eclipse: add -j only on UNIX hosts · 83751af2
      Alexander Neundorf authored
      The previous version added -jN to the make invokation if UNIX
      was set, but this was true also when cross compiling.
      What we are actually interested in is CMAKE_HOST_UNIX, i.e.
      whether the build host is UNIX.
      Or we should check more exactly what CMAKE_MAKE_PROGRAM is.
  5. 18 Sep, 2013 3 commits
  6. 17 Oct, 2012 1 commit
  7. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      Run the following shell code:
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  8. 28 Jul, 2012 2 commits
  9. 20 Mar, 2012 1 commit
  10. 19 Nov, 2011 1 commit
    • Alexander Neundorf's avatar
      Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT · 982b766f
      Alexander Neundorf authored
      Previously ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT was used, but the
      new name CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT is more in line with
      the general naming conventions in cmake, and, more importantly IMO,
      in cmake-gui it now appears right next to the other eclipse-related
      variables, which all start with CMAKE_ECLIPSE_.
      A warning is printed if the old variable is TRUE and the new one isn't,
      so users should notice that they have to enable the new one.
  11. 23 Oct, 2011 1 commit
  12. 15 Oct, 2011 2 commits
  13. 01 Aug, 2011 1 commit
  14. 03 Apr, 2011 2 commits
  15. 13 Dec, 2010 1 commit
  16. 12 Dec, 2010 1 commit
  17. 23 Aug, 2010 1 commit
  18. 15 Aug, 2010 2 commits
  19. 09 Aug, 2010 1 commit
  20. 01 Oct, 2009 1 commit
  21. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake non-find modules to BSD License · 3a666595
      Brad King authored
      This adds copyright/license notification blocks CMake's non-find
      modules.  Most of the modules had no notices at all.  Some had notices
      referring to the BSD license already.  This commit normalizes existing
      notices and adds missing notices.
  22. 17 Sep, 2009 1 commit
  23. 16 Sep, 2009 1 commit
  24. 28 Jun, 2009 1 commit
  25. 12 May, 2009 1 commit
  26. 10 May, 2009 1 commit
    • Alexander Neundorf's avatar
      ENH: move the code which queries gcc for the system include dirs from · 352fb9ff
      Alexander Neundorf authored
      CMakeSystemSpecificInformation.cmake into a separate file,
      -if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or
      EclipseCDT4, load a matching cmake script file, which can do things specific
      for this generator
      - added such files for Eclipse, KDevelop and CodeBlocks, one thing they all
      do is they try to find the respective IDE and store it in the
      This could be used by cmake-gui to open the project it just generated with
      the gui (not sure this is possible with eclipse).