Skip to content
Snippets Groups Projects
  1. Jan 02, 2018
  2. Jul 27, 2017
  3. May 02, 2017
  4. Jan 09, 2017
  5. Jun 28, 2016
  6. Jun 21, 2016
  7. Jun 10, 2016
  8. May 26, 2016
  9. May 17, 2016
  10. May 10, 2016
  11. May 03, 2016
  12. Mar 02, 2016
  13. Mar 01, 2016
  14. Feb 03, 2016
  15. Jan 22, 2016
  16. Jan 13, 2016
  17. Dec 10, 2015
  18. Nov 16, 2015
  19. Oct 21, 2015
  20. Oct 11, 2015
  21. Oct 07, 2015
  22. Sep 21, 2015
  23. Aug 14, 2015
  24. Jul 09, 2015
  25. Feb 11, 2015
  26. Feb 10, 2015
    • Lars Bilke's avatar
      Empty endblock statements in CMake. · ff64242a
      Lars Bilke 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
      ff64242a
    • Lars Bilke's avatar
      Changed to lower-case function naming in CMake. · f0034a62
      Lars Bilke 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
      f0034a62
Loading