mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
CMake: add debug info only for debug builds
This commit is contained in:
parent
aaf7f03d95
commit
930eb27ba7
@ -40,8 +40,8 @@ endif()
|
|||||||
|
|
||||||
set(LWIP_COMPILER_FLAGS_GNU_CLANG
|
set(LWIP_COMPILER_FLAGS_GNU_CLANG
|
||||||
$<$<CONFIG:Debug>:-Og>
|
$<$<CONFIG:Debug>:-Og>
|
||||||
|
$<$<CONFIG:Debug>:-g>
|
||||||
$<$<CONFIG:Release>:-O3>
|
$<$<CONFIG:Release>:-O3>
|
||||||
-g
|
|
||||||
-Wall
|
-Wall
|
||||||
-pedantic
|
-pedantic
|
||||||
-Werror
|
-Werror
|
||||||
|
Loading…
x
Reference in New Issue
Block a user