Commit d8181ead authored by Emmanuel Promayon's avatar Emmanuel Promayon

Add some flag to remove some warnings on msvc 2015

parent 2a0c8c3a
......@@ -90,6 +90,9 @@ elseif(WIN32)
set(CTEST_CMAKE_GENERATOR "Visual Studio 12 Win64" )
elseif(COMPILER MATCHES "MSVC2015" AND ARCH MATCHES "64bits")
set(CTEST_CMAKE_GENERATOR "Visual Studio 14 2015 Win64" )
# /EHsc is for removing warning in memory management in exception handling
set(CMAKE_C_FLAGS "/EHsc ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "/EHsc ${CMAKE_CXX_FLAGS}")
elseif(COMPILER MATCHES "MSVC2017" AND ARCH MATCHES "64bits")
set(CTEST_CMAKE_GENERATOR "Visual Studio 15 2017 Win64" )
elseif(COMPILER MATCHES "Ninja")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment