1. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
      7a649111
  2. 19 Nov, 2013 1 commit
  3. 18 Nov, 2013 1 commit
  4. 13 Nov, 2013 1 commit
  5. 27 Aug, 2013 1 commit
    • Stephen Kelly's avatar
      Genex: Evaluate genexes for additional make clean files. · d26594f3
      Stephen Kelly authored
      This is necessary because custom commands and targets may create
      custom files whose names are determined by generator expressions.
      
      For example, clang should be using $<TARGET_FILE> and $<TARGET_FILE_DIR>
      instead of reverse engineering the output file name:
      
       http://thread.gmane.org/gmane.comp.compilers.clang.scm/80523
      
      However, that can only be done when ADDITIONAL_MAKE_CLEAN_FILES
      also accepts and evaluates generator expressions.
      
      Similarly, KDE uses the LOCATION property where $<TARGET_FILE>
      would also be better in KDE4_HANDLE_RPATH_FOR_EXECUTABLE but
      also appends the result to ADDITIONAL_MAKE_CLEAN_FILES.
      
      After this patch, both can be ported to generator expressions.
      d26594f3
  6. 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
  7. 08 Jul, 2009 1 commit
  8. 25 Mar, 2008 1 commit
  9. 20 Mar, 2008 1 commit
  10. 07 Mar, 2008 1 commit
    • Brad King's avatar
      ENH: Improve handling of old-style compatibility. · 5233b75a
      Brad King authored
        - Remove CMP_0001 (no slash in target name) and restore
          old CMAKE_BACKWARDS_COMPATIBILITY check for it
        - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY
          with cmLocalGenerator::NeedBackwardsCompatibility calls
        - Create new CMP_0001 to determine whether or not
          CMAKE_BACKWARDS_COMPATIBILITY is used.
          (old = use, new = ignore)
        - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when
          CMP_0001 is set to OLD or WARN
        - Update documentation of cmake_policy and cmake_minimum_required
          to indicate their relationship and the 2.4 version boundary
        - When no cmake policy version is set in top level makefile
          implicitly call cmake_policy(VERSION 2.4) which restores
          CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility
        - Fix tests MakeClean and Preprocess to call
          cmake_policy(VERSION 2.6) because they depend on new policies
      5233b75a
  11. 28 Dec, 2007 1 commit
  12. 14 Jun, 2006 1 commit
  13. 29 Jul, 2005 1 commit
  14. 06 Apr, 2005 1 commit
  15. 14 Feb, 2005 2 commits
  16. 09 Feb, 2005 2 commits