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. 20 Oct, 2014 1 commit
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 29c3edb8
      Ben Boeckel authored
      When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly
      dereference or quote the variable. We want if() to auto-dereference the
      variable and not its value. Also replace MATCHES with STREQUAL where
      equivalent.
      29c3edb8
  3. 01 Nov, 2013 1 commit
  4. 07 Oct, 2013 1 commit
    • Brad King's avatar
      Clang: Add separate "AppleClang" compiler id · ab658624
      Brad King authored
      Apple distributes their own Clang build with their own version numbers
      that differ from upstream Clang.  Use the __apple_build_version__ symbol
      to identify the Apple Clang compiler and report the Apple Build Version
      as the fourth version component in CMAKE_<LANG>_COMPILER_VERSION.  Add
      Compiler/AppleClang-<lang> and Platform/Darwin-AppleClang-<lang> modules
      that simply include the upstream equivalents.
      
      Fix comparisons of CMAKE_<LANG>_COMPILER_ID to Clang in CMake's own
      source and tests to account for AppleClang.
      ab658624
  5. 21 Sep, 2012 1 commit
  6. 15 Aug, 2012 3 commits
  7. 13 Aug, 2012 1 commit
    • 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
  8. 18 Jun, 2012 1 commit
  9. 04 Mar, 2011 3 commits
    • Brad King's avatar
      Do not bother enabling C++ in Assembler test · b3ce4200
      Brad King authored
      This test needs only the C compiler and ASM compiler so do not enable
      the C++ compiler.
      b3ce4200
    • Brad King's avatar
      Teach Assembler test to generate main.s at build time · 80f6a344
      Brad King authored
      Use a custom command to generate the assembly source file at build time.
      Also set CMAKE_VERBOSE_MAKEFILE so the test output contains all the
      build rules.  These two changes will show the entire .c -> .s -> .o and
      final link commands in the test output.
      80f6a344
    • Brad King's avatar
      Fix Assembler test to parse C flags string before using · 1dafa749
      Brad King authored
      Commit 1f6c6b1c (use CMAKE_C_FLAGS when generating the assembler file,
      2011-03-03) added use of CMAKE_C_FLAGS to the assembler generation step.
      However, this variable is meant for direct substitution into a shell
      command line so we need to parse it to separate the arguments first.
      1dafa749
  10. 03 Mar, 2011 2 commits
  11. 01 Mar, 2011 1 commit
  12. 24 Feb, 2011 1 commit
  13. 23 Feb, 2011 1 commit
  14. 25 Mar, 2008 1 commit
  15. 09 Jul, 2007 1 commit
  16. 08 Jul, 2007 1 commit
  17. 06 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 03ea7bf2
      Alexander Neundorf authored
      BUG: fix test
      
      Alex
      03ea7bf2
    • Alexander Neundorf's avatar
      · ef7b647b
      Alexander Neundorf authored
      COMP: OPTIONAL was missing in ENABLE_LANGUAGE()
      -the assembler file seems to work for Linux and FreeBSD
      -try to fix main() for HP-UX compiler
      
      Alex
      ef7b647b
  18. 05 Jul, 2007 4 commits
    • Alexander Neundorf's avatar
      · 7627b96d
      Alexander Neundorf authored
      STYLE: some more output
      
      Alex
      7627b96d
    • Alexander Neundorf's avatar
      · 0589ff74
      Alexander Neundorf authored
      COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures
      
      Alex
      0589ff74
    • Alexander Neundorf's avatar
      · f9fb18f8
      Alexander Neundorf authored
      COMP: let's see if this assembler file works also on other platforms than linux...
      
      Alex
      f9fb18f8
    • Alexander Neundorf's avatar
      · 5021eb90
      Alexander Neundorf authored
      ENH: add a simple assembler test
      
      Alex
      5021eb90