From: Jean-Philippe Bruyère Date: Mon, 6 Jun 2022 17:26:57 +0000 (+0200) Subject: add /Od to msvc in Realease build X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=71f6250bc1a441412a41bd96549842293b436947;p=jp%2Fvkvg.git add /Od to msvc in Realease build --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 04aafc1..0f4c459 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ ELSE() ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -fno-rtti) #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed) ELSEIF(MSVC) - ADD_COMPILE_OPTIONS(/O2 /TC /W0) + ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od) ENDIF() ENDIF()