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

@ -155,7 +155,9 @@ if(MSVC)
add_definitions(/std:c++latest /W4 /w14545 /w34242 /w34254 /w34287 /w44263 /w44265 /w44296 /w44311 /w44826 /we4289 /w14546 /w14547 /w14549 /w14555 /w14619 /w14905 /w14906 /w14928)
add_definitions(/std:c++17)
# Let's get ALL the diagnostic info
add_definitions(/v:diag)
if (MSVC_VERSION STREQUAL "1800")
# VS2013 doesn't have magic statics