1. 19 Aug, 2012 1 commit
    • Rolf Eike Beer's avatar
      read less from version headers into variables · 4be67837
      Rolf Eike Beer authored
      Instead of reading the whole file using file(READ) and later matching on the
      whole file use file(STRINGS ... REGEX) to get only those lines we are
      interested in at all. This will make the list much smaller (good for debugging)
      and also the regular expressions will need to match on much smaller strings.
      
      Also unset the content variables once they are not used anymore.
      4be67837
  2. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      
      Run the following shell code:
      
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      9db31162
    • 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
      77543bde
  3. 09 Aug, 2010 1 commit
  4. 28 Jan, 2010 1 commit
  5. 13 Jan, 2010 1 commit
  6. 01 Oct, 2009 1 commit
  7. 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.
      3a666595
  8. 17 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 7eb86d1e
      Alexander Neundorf authored
      ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make
      it adjustable and detect if libkdecore.so is a 64bit library
      
      Alex
      7eb86d1e
  9. 20 Feb, 2007 1 commit
  10. 03 Oct, 2006 1 commit
  11. 27 Aug, 2006 2 commits
  12. 19 May, 2006 1 commit
  13. 20 Mar, 2006 1 commit
  14. 09 Mar, 2006 1 commit