1. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      d9fd2f54
  2. 29 Apr, 2016 1 commit
  3. 27 Oct, 2014 1 commit
  4. 16 Sep, 2014 1 commit
    • Brad King's avatar
      Tests: Fix CMP0054 warnings · fa7d47ac
      Brad King authored
      Hack the CMP0054 warning locally to be an error and run the test suite.
      Resolve CMP0054 in Tests/* code as appropriate for each case.
      fa7d47ac
  5. 06 Aug, 2014 1 commit
  6. 08 May, 2014 1 commit
    • Ben Boeckel's avatar
      EVIS: Add tests for syntax corner cases and CMP0053 · 411f77d1
      Ben Boeckel authored
      Include tests for:
      
      - @ expansion during normal execution
      - various characters in variable names for comparison between the new
        and the old parser
      - corner cases in the parsers
      - correct messages when behavior is different
      411f77d1
  7. 31 Mar, 2014 1 commit
  8. 21 May, 2013 1 commit
  9. 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
  10. 08 Dec, 2010 1 commit
  11. 06 Sep, 2009 1 commit
  12. 13 May, 2009 1 commit
    • Brad King's avatar
      BUG: file(COPY) test should not make read-only dir · 33a1076b
      Brad King authored
      CMake directory removal code cannot remove content from read-only
      directories (a separate bug which will be fixed).  Therefore we should
      not create them in the StringFileTest.  This tweaks the file(COPY) call
      to test not giving OWNER_WRITE to files rather than directories.
      33a1076b
  13. 29 Apr, 2009 1 commit
    • Brad King's avatar
      ENH: Create file(COPY) command signature · c58ca242
      Brad King authored
      The file(INSTALL) command has long been undocumented and used only to
      implement install() scripts.  We now document it and provide a similar
      file(COPY) signature which is useful in general-purpose scripts.  It
      provides the capabilities of install(DIRECTORY) and install(FILES) but
      operates immediately instead of contributing to install scripts.
      c58ca242
  14. 15 Apr, 2009 1 commit
  15. 17 Mar, 2009 1 commit
    • Brad King's avatar
      ENH: New foreach(<var> IN ...) mode · ecb0f3af
      Brad King authored
      This creates a new mode of the foreach command which allows precise
      iteration even over empty elements.  This mode may be safely extended
      with more keyword arguments in the future.  The cost now is possibly
      breaking scripts that iterate over a list of items beginning with 'IN',
      but there is no other way to extend the syntax in a readable way.
      ecb0f3af
  16. 17 Dec, 2008 1 commit
    • Brad King's avatar
      ENH: Allow most characters in ENV variable refs · 625ef261
      Brad King authored
      The $ENV{VAR} syntax permits access to environment variables.  This
      teaches CMake to recognize most characters in the VAR name since some
      environments may have variables with non-C-identifier characters.
      625ef261
  17. 25 Mar, 2008 1 commit
  18. 02 Jan, 2008 1 commit
  19. 29 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · ef13337c
      Alexander Neundorf authored
      ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get set by
      regex matches (STRING(REGEX), IF(MATCHES))
      
      Alex
      ef13337c
  20. 06 Jun, 2007 1 commit
  21. 25 May, 2007 1 commit
    • Alexander Neundorf's avatar
      · f4eb5418
      Alexander Neundorf authored
      ENH: make the compiler id detection work, even if the output file name of
      the compiler is completely unknown and even if it produces intel hex or
      motorola s-record files, with test
      
      Alex
      f4eb5418
  22. 26 Apr, 2007 1 commit
  23. 25 Apr, 2007 1 commit
  24. 23 Oct, 2006 2 commits
  25. 25 Sep, 2006 1 commit
  26. 25 Aug, 2006 1 commit
  27. 21 Mar, 2006 1 commit
  28. 17 Oct, 2005 2 commits
  29. 20 Sep, 2004 1 commit
  30. 29 Apr, 2004 1 commit
  31. 04 Mar, 2004 1 commit
  32. 24 Jul, 2003 1 commit
  33. 23 Jul, 2003 2 commits
  34. 22 Jul, 2003 2 commits