Merge topic 'vs-2015-update-2-features'

d2a06159 Features: Record features for VS 2015 Update 2
This commit is contained in:
Brad King 2016-04-29 13:28:36 -04:00 committed by CMake Topic Stage
commit 22e04bfe32
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,10 @@
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(_cmake_feature_test_cxx_alignas "${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 )
# 'NSDMIs for aggregates'
# 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
# but without support for decltype_auto and return type deduction this