summaryrefslogtreecommitdiff
path: root/Modules/Compiler/MSVC-CXX.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2015-01-19 15:49:06 -0500
committerBrad King <brad.king@kitware.com>2015-01-30 09:57:33 -0500
commitd3489bdb0bc58b36f1e5ff2baa0aee8f4daea734 (patch)
treef957e26ba68f2a2f7b38c5b8669954f70c169389 /Modules/Compiler/MSVC-CXX.cmake
parent3228fc5049e72e6d7584a6f3cec6055b8a726817 (diff)
downloadcmake-d3489bdb0bc58b36f1e5ff2baa0aee8f4daea734.tar.gz
Features: Record for MSVC 2010-2015
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>
Diffstat (limited to 'Modules/Compiler/MSVC-CXX.cmake')
-rw-r--r--Modules/Compiler/MSVC-CXX.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Compiler/MSVC-CXX.cmake b/Modules/Compiler/MSVC-CXX.cmake
new file mode 100644
index 0000000000..962aaeb77b
--- /dev/null
+++ b/Modules/Compiler/MSVC-CXX.cmake
@@ -0,0 +1,6 @@
+# MSVC has no specific language level or flags to change it.
+set(CMAKE_CXX_STANDARD_DEFAULT "")
+
+macro(cmake_record_cxx_compile_features)
+ record_compiler_features(CXX "" CMAKE_CXX_COMPILE_FEATURES)
+endmacro()