1. 24 Mar, 2016 1 commit
  2. 25 Sep, 2015 1 commit
  3. 22 Dec, 2014 1 commit
  4. 28 Jul, 2014 1 commit
  5. 19 Nov, 2013 1 commit
  6. 17 Nov, 2013 1 commit
    • Nils Gladitz's avatar
      CPack: don't write internal variables to CPackConfig.cmake · 7621ad6e
      Nils Gladitz authored
      The internal variables CPACK_ADDCOMP_COMPONENTS,
      CPACK_ADDCOMP_STR and CPACK_ADDCOMP_UNAME were being needlessly
      exported to CPackConfig.cmake.
      Prefixing them with an underscore prevents this.
      
      CPACK_ADDCOMP_STR was particularily problematic since it contains
      unescaped quotes.
      7621ad6e
  7. 16 Oct, 2013 1 commit
  8. 15 Oct, 2013 1 commit
  9. 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
  10. 03 Aug, 2012 1 commit
  11. 18 Feb, 2012 1 commit
  12. 14 Feb, 2012 1 commit
  13. 22 Jan, 2012 1 commit
    • Eric Noulard's avatar
      Implement simple CMake script comment markup language. · 83e34dd9
      Eric Noulard authored
      The language is very simple. It use ##<keyword> special comment
      which opens a structured documentation block and ##end closes it.
      This may be used to extract documentation for macro as 'command'
      and 'variables' such that cpack --help-command and --help-variable
      does parse builtin modules files (CPack.cmake, CPackComponent.cmake,
      ...) in order to extract the corresponding doc.
      83e34dd9
  14. 04 Apr, 2011 1 commit