]> O.S.I.I.S - jp/vkvg.git/commitdiff
add /Od to msvc in Realease build
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 6 Jun 2022 17:26:57 +0000 (19:26 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 6 Jun 2022 17:26:57 +0000 (19:26 +0200)
CMakeLists.txt

index 04aafc15debcd0f7b1e5cbc231097c6f8c283608..0f4c459fc9da710f8c6f9d86d815477577e45a1b 100644 (file)
@@ -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()