1. 14 Apr, 2014 1 commit
  2. 13 Nov, 2013 1 commit
  3. 23 Oct, 2013 1 commit
    • Brad King's avatar
      Drop compatibility with CMake < 2.4 · 7d47c693
      Brad King authored
      Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to
      a value lower than 2.4, and generate an error when projects or the user
      attempt to do so.  In the error suggest using a CMake 2.8.x release.
      
      Teach cmake_minimum_required to warn about projects that do not require
      at least CMake 2.4.  They are not supported by CMake >= 3.0.
      
      Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a
      reference to policy CMP0001.
      7d47c693
  4. 02 Jun, 2013 1 commit
  5. 13 Aug, 2012 3 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
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      
      Run the following shell code:
      
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
      7bbaa428
  6. 18 Feb, 2012 1 commit
  7. 23 Dec, 2011 1 commit
  8. 09 Oct, 2009 1 commit
  9. 07 Oct, 2009 1 commit
    • Brad King's avatar
      Make Complex test of CMakeLib more optional · 7dcfc8d2
      Brad King authored
      Previously we passed inputs to the decision to each Complex test and let
      the test source decide.  This commit moves the decision out of the tests
      and makes it an option() in their source.  This makes it possible to
      build the Complex tests from outside the CMake test tree.
      7dcfc8d2
  10. 08 Jul, 2009 1 commit
  11. 16 Mar, 2009 2 commits
    • Brad King's avatar
      ENH: Allow projects to disable per-rule echo lines · 493f88ce
      Brad King authored
      This creates global property RULE_MESSAGES which can be set to disbale
      per-rule progress and action reporting.  On Windows, these reports may
      cause a noticable delay due to the cost of starting extra processes.
      This feature will allow scripted builds to avoid the cost since they do
      not need detailed information anyway.  This replaces the RULE_PROGRESS
      property created earlier as it is more complete.  See issue #8726.
      493f88ce
    • Brad King's avatar
      ENH: Allow projects to disable per-rule progress · 2f651c2e
      Brad King authored
      This creates global property RULE_PROGRESS which can be set to disbale
      per-rule progress reporting.  On Windows, progress reports may cause a
      noticable delay due to the cost of starting an extra process.  This
      feature will allow scripted builds to avoid the cost since they do not
      need detailed progress anyway.  See issue #8726.
      2f651c2e
  12. 18 Aug, 2008 1 commit
    • Brad King's avatar
      ENH: Add cmake_policy(GET) command mode · 7f7068e9
      Brad King authored
      It is likely that projects or CMake modules in the future will need to
      check the value of a policy setting.  For example, if we add a policy
      that affects the results of FindXYZ.cmake modules, the module code will
      need to be able to check the policy.
      7f7068e9
  13. 26 Jun, 2008 1 commit
  14. 20 Mar, 2008 1 commit
    • Brad King's avatar
      ENH: Add "if(POLICY policy-id)" option for IF command. · a6a67397
      Brad King authored
        - This will help projects support multiple CMake versions.
        - In order to set a policy when using a newer CMake but still
          working with an older CMake one may write
            if(POLICY CMP1234)
              cmake_policy(SET CMP1234 NEW)
            endif(POLICY CMP1234)
        - Note that since CMake 2.4 does not have if(POLICY) supporting
          it will also require using "if(COMMAND cmake_policy)"
      a6a67397
  15. 17 Jan, 2008 1 commit
  16. 20 Jul, 2007 1 commit
  17. 12 Mar, 2007 1 commit
  18. 30 Oct, 2006 1 commit
  19. 19 Oct, 2006 1 commit
  20. 05 Oct, 2006 2 commits
  21. 22 Sep, 2006 1 commit
  22. 12 May, 2006 1 commit
  23. 08 May, 2006 1 commit
  24. 10 Feb, 2006 1 commit
  25. 03 Feb, 2006 1 commit
  26. 03 Jan, 2006 1 commit
  27. 02 Jan, 2006 1 commit
  28. 30 Jun, 2005 1 commit
  29. 08 Jun, 2005 2 commits
  30. 07 Feb, 2005 1 commit
  31. 29 Apr, 2004 1 commit
  32. 26 Apr, 2004 1 commit
  33. 15 Apr, 2004 1 commit
  34. 07 Aug, 2003 2 commits