From 62bfb05b63ab435409fcaa433f9a247070bee9c2 Mon Sep 17 00:00:00 2001 From: ninnghazad Date: Sun, 23 Aug 2020 00:45:49 +0200 Subject: [PATCH] Adding /v:diag to MSVC build not sure if this will get MSVC to actually give useful error information. so cryptic and yet superficial. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e1e754b..7f27c83f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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