Update debug optimization flag

This commit is contained in:
Stephen Seo 2024-01-11 21:05:02 +09:00
parent c03eae1c15
commit bf84a1f2d4

View file

@ -10,7 +10,7 @@ set(UDPC_SOURCES
add_compile_options(
-Wall -Wextra -Wpedantic -Wno-missing-braces
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
$<$<CONFIG:DEBUG>:-O0>
$<$<CONFIG:DEBUG>:-Og>
)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)