1. 13 Jul, 2015 1 commit
    • Brad King's avatar
      Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables · c736de7b
      Brad King authored
      Teach the Makefile and Ninja generators to substitute for an <INCLUDES>
      placeholder instead of putting -I in <FLAGS>.  Update our values for
      
        CMAKE_<LANG>_COMPILE_OBJECT,
        CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and
        CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE
      
      to place <INCLUDES> just before <FLAGS>.
      c736de7b
  2. 09 Jul, 2015 1 commit
  3. 02 Jul, 2015 1 commit
  4. 18 Jun, 2015 1 commit
  5. 20 Apr, 2015 1 commit
  6. 06 Apr, 2015 1 commit
    • Brad King's avatar
      Features: VS 2013 Update 3 supports initializer lists (#15494) · ecb1d5b4
      Brad King authored
      VS 2013 originally claimed to support initializer lists but a bug was
      found in which it generated bad code silently.  For this reason we
      previously considered support to not be present.  However, Update 3 adds
      a hard error on cases that previously generated bad code, so it is now
      safe to use initializer lists with VS 2013 Update 3 or greater.  At
      worst a compiler error will be issued in the cases that do not work, but
      that is no different from any other compiler-specific workaround a
      project code may need.
      ecb1d5b4
  7. 26 Mar, 2015 1 commit
  8. 23 Mar, 2015 1 commit
  9. 20 Mar, 2015 1 commit
  10. 17 Mar, 2015 1 commit
  11. 04 Feb, 2015 3 commits
    • Stephen Kelly's avatar
      Features: Fix C90 feature detection. · fb3487a9
      Stephen Kelly authored
      This bug caused c_function_prototypes to not be recorded at configure
      time when compiling with -std=gnu99 or similar. In the case of feature
      recording, that was not a problem, because the logic in
      CMakeDetermineCompileFeatures.cmake currently assumes that a feature
      present for an earlier standard is present for a later standard.
      
      However, the detection strings are also used in WriteCompilerDetectionHeader,
      so the feature macro has been defined to '0' when using a later language
      dialect.
      
      Fix that by not checking the existence of the __STDC_VERSION__ macro at
      all when detecting C90 features.
      fb3487a9
    • Stephen Kelly's avatar
      Features: Populate CMAKE_<LANG>_STANDARD_DEFAULT only for supported compilers. · 9d767810
      Stephen Kelly authored
      If no compiler feature information is known for a given compiler
      version, do not set a language standard default either.  The two
      settings must be recorded consistently.
      9d767810
    • Stephen Kelly's avatar
      82c9d686
  12. 31 Jan, 2015 1 commit
  13. 30 Jan, 2015 1 commit
    • Robert Maynard's avatar
      Features: Record for MSVC 2010-2015 · d3489bdb
      Robert Maynard authored
      Also, in WCDH add MSVC Compatibility for cxx_align{of,as}.
      
      Co-Author: Stephen Kelly <steveire@gmail.com>
      Co-Author: Brad King <brad.king@kitware.com>
      d3489bdb
  14. 21 Jan, 2015 1 commit
  15. 18 Jan, 2015 1 commit
  16. 17 Jan, 2015 2 commits
  17. 15 Jan, 2015 8 commits
  18. 14 Jan, 2015 1 commit
    • Brad King's avatar
      Revert topic 'feature_record_msvc' · 0b7e7e27
      Brad King authored
      Revert commits:
      
       2d738ce3 Help: Add notes for topic 'feature_record_msvc'
       f73718c9 Features: Enable writing of MSVC compiler feature header.
       64c30bdc Features: Record for MSVC C++ 2015 and MSVC C 2010-2015.
       225c0ef8 Features: Record for MSVC 2010-2013.
      
      This topic was merged to master prematurely, so remove it.
      0b7e7e27
  19. 11 Jan, 2015 5 commits
  20. 01 Jan, 2015 1 commit
  21. 23 Dec, 2014 1 commit
    • Brad King's avatar
      Oracle/Sun: Fix Fortran preprocessor rule generation · be1109d8
      Brad King authored
      The SunPro Fortran compiler uses "-F" instead of "-E" to request
      preprocessing.  The output does not go to stdout so use "-o" to
      specify the output file.
      
      This fixes the guess originally made by commit b6b37e30 (Makefile: Add
      assembly and preprocessed targets for Fortran, 2014-11-05).
      be1109d8
  22. 22 Dec, 2014 1 commit
  23. 25 Nov, 2014 1 commit
    • Stephen Kelly's avatar
      WCDH: Make the header -Wundef safe for the C language. · d0af0fae
      Stephen Kelly authored
      The __STDC_VERSION__ macro may be defined or not depending on the
      implementation dialect of C.  Test that it is defined before testing
      its value.
      
      The CXX tests do not need such a change because they define __cplusplus
      in all dialects.
      d0af0fae
  24. 20 Nov, 2014 1 commit
  25. 19 Nov, 2014 2 commits