Features: Record features for VS 2015 Update 2

This commit is contained in:
Brad King 2016-04-28 13:05:03 -04:00
parent 5b4f771fd7
commit d2a061596e
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,10 @@
set(_cmake_oldestSupported "_MSC_VER >= 1600") set(_cmake_oldestSupported "_MSC_VER >= 1600")
# VS 2015 Update 2 introduces support for variable templates.
# https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx
set(_cmake_feature_test_cxx_variable_templates "_MSC_FULL_VER >= 190023918")
set(MSVC_2015 "_MSC_VER >= 1900") set(MSVC_2015 "_MSC_VER >= 1900")
set(_cmake_feature_test_cxx_alignas "${MSVC_2015}") set(_cmake_feature_test_cxx_alignas "${MSVC_2015}")
set(_cmake_feature_test_cxx_alignof "${MSVC_2015}") set(_cmake_feature_test_cxx_alignof "${MSVC_2015}")
@ -95,7 +99,6 @@ set(_cmake_feature_test_cxx_variadic_macros "${MSVC_2010}")
# set(_cmake_feature_test_cxx_relaxed_constexpr ) # set(_cmake_feature_test_cxx_relaxed_constexpr )
# 'NSDMIs for aggregates' # 'NSDMIs for aggregates'
# set(_cmake_feature_test_cxx_aggregate_default_initializers ) # set(_cmake_feature_test_cxx_aggregate_default_initializers )
# set(_cmake_feature_test_cxx_variable_templates )
# In theory decltype incomplete return types was added in 2012 # In theory decltype incomplete return types was added in 2012
# but without support for decltype_auto and return type deduction this # but without support for decltype_auto and return type deduction this