2012-08-23 12:00:55 -04:00
|
|
|
include(Platform/Windows-MSVC)
|
|
|
|
set(_COMPILE_CXX " /TP")
|
2013-10-18 10:22:57 -04:00
|
|
|
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0)
|
|
|
|
set(_FS_CXX " /FS")
|
|
|
|
endif()
|
2012-08-23 12:00:55 -04:00
|
|
|
__windows_compiler_msvc(CXX)
|
2014-04-06 15:55:37 +02:00
|
|
|
|
2014-12-22 10:25:18 -05:00
|
|
|
# No version of MSVC has full conformance to C++11. Therefore the
|
|
|
|
# __cplusplus macro always evaluates to 98 even if the compilers come with
|
|
|
|
# C++11/14/+ features enabled.
|
|
|
|
set(CMAKE_CXX_STANDARD_DEFAULT 98)
|
|
|
|
|
2014-04-06 15:55:37 +02:00
|
|
|
macro(cmake_record_cxx_compile_features)
|
|
|
|
record_compiler_features(CXX "" CMAKE_CXX_COMPILE_FEATURES)
|
|
|
|
endmacro()
|