1. 21 Mar, 2016 1 commit
  2. 24 Feb, 2015 1 commit
  3. 17 Mar, 2014 1 commit
  4. 04 Oct, 2013 1 commit
    • Brad King's avatar
      CMakeDetermineCompilerId: Add notion of "simulated" id/version · 51ab85c3
      Brad King authored
      Some compilers try to simulate other compilers as a drop-in replacement
      supporting all the same command-line options and predefined preprocessor
      macros.  In such cases it will be useful to have CMake load the compiler
      information files for the simulated compiler instead of duplicating the
      information.  Teach CMakeDetermineCompilerId to extract the simulated
      compiler id and version when the compiler id detection provides it.
      51ab85c3
  5. 07 Jan, 2013 1 commit
  6. 05 Sep, 2012 1 commit
  7. 13 Aug, 2012 1 commit
    • 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
  8. 09 May, 2012 1 commit
  9. 07 Dec, 2011 1 commit
    • Brad King's avatar
      Add framework to detect compiler version with its id (#12408) · fa7141f5
      Brad King authored
      Teach CMakePlatformId.h to construct an "INFO:compiler_version[]" string
      literal from macros COMPILER_VERSION_(MAJOR|MINOR|PATCH|TWEAK) to be
      defined in CMake(C|CXX)CompilerId.(c|cpp) for each compiler.  Provide
      conversion macros DEC() and HEX() to decode decimal or hex digits from
      integer values.  Parse the version out of the compiler id binary along
      with the other INFO values already present.
      
      Store the result in variable CMAKE_<LANG>_COMPILER_VERSION in the format
      "major[.minor[.patch[.tweak]]]".  Save the value persistently in
      CMake(C|CXX)Compiler.cmake in the build tree.  Document the variable for
      internal use since we do not set it everywhere yet.
      
      Report the compiler version on the compiler id result line e.g.
      
        The C compiler identification is GNU 4.5.2
      
      Report CMAKE_(C|CXX)_COMPILER_(ID|VERSION) in SystemInformation test.
      fa7141f5
  10. 29 Dec, 2010 1 commit
    • Brad King's avatar
      Fix constness in compiler id detection · dbc79bd8
      Brad King authored
      Since commit 70c2dc8a (Make compiler id detection more robust,
      2008-03-10) we store compiler identification strings in test binaries
      using the form
      
        char* info = "info";
      
      Use the const-correct
      
        char const* info = "info";
      
      form instead.  This allows the C++ compiler identification to work with
      "-Werror -Wall" or equivalent flags if the compiler would warn about
      const-to-non-const conversion.
      dbc79bd8
  11. 17 Nov, 2010 1 commit
  12. 28 Jan, 2010 1 commit
  13. 21 Nov, 2009 1 commit
  14. 19 Nov, 2009 1 commit
  15. 15 Sep, 2008 1 commit
  16. 10 Mar, 2008 1 commit
    • Brad King's avatar
      ENH: Make compiler id detection more robust · 70c2dc8a
      Brad King authored
        - Split INFO strings in source into multiple pieces
          to make sure assembly or other listings produced
          by the compiler are never matched by the regex
        - Store INFO strings via pointer instead of array
          to convince some compilers to store the string
          literally in the binary
        - This should help make it work for sdcc 2.8.0 RC1
      70c2dc8a
  17. 25 Feb, 2008 1 commit
    • Brad King's avatar
      ENH: Improvied compiler identification robustness · 9211b0d2
      Brad King authored
        - Write a single source file into the compiler id directory
        - This avoid requiring the compiler to behave correctly with
          respect to include rules and the current working directory
        - Helps to identify cross-compiling toolchains with unusual
          default behavior
      9211b0d2
  18. 23 May, 2007 1 commit
  19. 22 May, 2007 1 commit
    • Alexander Neundorf's avatar
      · 6e2fd2c2
      Alexander Neundorf authored
      BUG: now the toolchain file is configured into the buildtree, otherwise e.g.
      CMAKE_SOURCE_DIR can't be used there
      ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they
      were the preprocessor produced:
      
       9 "test.c"
      static char const info_compiler[] = "INFO:compiler["
      # 40 "test.c"
      ""
      
      "]";
      
      and the mixing of the preprocessing directives and the string constants
      didn't work.
      
      Alex
      6e2fd2c2
  20. 28 Apr, 2007 1 commit