1. 14 May, 2019 1 commit
  2. 13 May, 2019 1 commit
  3. 29 Apr, 2019 1 commit
  4. 11 Apr, 2019 1 commit
  5. 27 Mar, 2018 2 commits
  6. 12 Sep, 2017 1 commit
    • Brad King's avatar
      MSVC: Avoid unnecessary C++ feature detection steps · 39be8a9d
      Brad King authored
      Since commit v3.9.0-rc1~17^2~4 (Compilers: Port to use default
      cmake_record_lang_compile_features macros, 2017-05-10) we run full
      per-language-standard feature detection for MSVC.  This is not necessary
      because the base mode for MSVC has all features we define except for the
      meta-features for C++14 and above.  Override the default C++ feature
      detection macro for MSVC to run detection only once as before.
      
      Fixes: #17274
      39be8a9d
  7. 01 Sep, 2017 1 commit
  8. 17 Jul, 2017 1 commit
    • Brad King's avatar
      MSVC: Add flags for C++ language standards · 131c721f
      Brad King authored
      Visual Studio 2015 Update 3 introduced the notion of language standard
      levels to MSVC.  The language standard level is defined in `_MSVC_LANG`
      instead of `__cplusplus`.  It also added support for the `-std:c++14`
      and `-std:c++latest` flags, although the compiler defaults to its C++14
      mode anyway.  Visual Studio 2017 Update 3 will introduce support for the
      `-std:c++17` flag.
      
      Fixes: #16482
      131c721f
  9. 30 May, 2017 1 commit
  10. 29 May, 2017 1 commit
  11. 02 Dec, 2016 1 commit
  12. 02 Nov, 2016 3 commits
    • Brad King's avatar
      Features: Add meta-features requesting awareness of a particular standard · b0996a3f
      Brad King authored
      A common use case of `target_compile_features` is simply to specify that
      the compiler should be run in a mode that is aware of e.g. C++11.  Some
      projects simply specify a particular C++11-only feature to request this.
      Provide a first-class way to do this by naming features after the
      corresponding language standard.  Record them as always available in the
      corresponding standard level so that requesting them always ensures that
      standard (or higher) is used.
      b0996a3f
    • Brad King's avatar
      Features: Centralize per-compiler recording macros · 8b6cc251
      Brad King authored
      Simplify and de-duplicate per-compiler feature recording macros and
      convert to a centralized per-language macro.
      8b6cc251
    • Brad King's avatar
      Features: Do not record features on MSVC < 2010 · 2d23f7b2
      Brad King authored
      We have no feature tests for versions of VS older than 2010, so do
      not even call `record_compiler_features` for such versions.  This
      is consistent with other compilers where we call this macro only
      for versions for which we have recorded features.
      2d23f7b2
  13. 04 Feb, 2015 1 commit
  14. 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