Adding /v:diag to MSVC build

not sure if this will get MSVC to actually give useful error information. so cryptic and yet superficial.
This commit is contained in:
ninnghazad 2020-08-23 00:45:49 +02:00 committed by GitHub
parent aa00ce4892
commit 62bfb05b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,8 @@ if(MSVC)
add_definitions(/std:c++17) add_definitions(/std:c++17)
# Let's get ALL the diagnostic info
add_definitions(/v:diag)
if (MSVC_VERSION STREQUAL "1800") if (MSVC_VERSION STREQUAL "1800")
# VS2013 doesn't have magic statics # VS2013 doesn't have magic statics