CMake: add debug info only for debug builds
This commit is contained in:
@@ -40,8 +40,8 @@ endif()
|
||||
|
||||
set(LWIP_COMPILER_FLAGS_GNU_CLANG
|
||||
$<$<CONFIG:Debug>:-Og>
|
||||
$<$<CONFIG:Debug>:-g>
|
||||
$<$<CONFIG:Release>:-O3>
|
||||
-g
|
||||
-Wall
|
||||
-pedantic
|
||||
-Werror
|
||||
|
||||
Reference in New Issue
Block a user