1. 13 Aug, 2012 1 commit
    • 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
  2. 11 Jan, 2011 1 commit
    • Brad King's avatar
      Fix ArgumentExpansion test expected results · 729db484
      Brad King authored
      Teach the ArgumentExpansion test to expect flattened lists as has always
      been the case in the CMake language.  Now that the test should pass
      enable the failure regex even when CMAKE_STRICT is not on.  Replace the
      reference to the old ArgumentExpansion test behavior in the workaround
      comment in cmMakefile::TryCompile with a full inline explanation.
      729db484
  3. 08 Oct, 2010 1 commit
  4. 07 Oct, 2010 1 commit