[Cmake-commits] CMake branch, next, updated. v3.5.2-1142-g9f725d2
Brad King
brad.king at kitware.com
Thu Apr 28 13:06:12 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 9f725d26ed2f94a036bb95b51d851f56b234afe2 (commit)
via d2a061596ef674e8268b98175597a9253f07f6ef (commit)
from fbcc253c34ffff2540b495885d4eb764b41117fb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9f725d26ed2f94a036bb95b51d851f56b234afe2
commit 9f725d26ed2f94a036bb95b51d851f56b234afe2
Merge: fbcc253 d2a0615
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Apr 28 13:06:11 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Apr 28 13:06:11 2016 -0400
Merge topic 'vs-2015-update-2-features' into next
d2a06159 Features: Record features for VS 2015 Update 2
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d2a061596ef674e8268b98175597a9253f07f6ef
commit d2a061596ef674e8268b98175597a9253f07f6ef
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Apr 28 13:05:03 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Apr 28 13:05:52 2016 -0400
Features: Record features for VS 2015 Update 2
diff --git a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake b/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
index ad1d14b..79d5962 100644
--- a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
@@ -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
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/MSVC-CXX-FeatureTests.cmake | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list