1. 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
  2. 01 Aug, 2011 1 commit
  3. 09 Aug, 2010 1 commit
  4. 01 Oct, 2009 1 commit
  5. 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
  6. 12 May, 2009 1 commit
  7. 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,
      CMakeEclipseCDT4.cmake
      -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
      CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable.
      This could be used by cmake-gui to open the project it just generated with
      the gui (not sure this is possible with eclipse).
      
      Alex
      352fb9ff