CMake: add debug info only for debug builds

This commit is contained in:
Dirk Ziegelmeier 2018-11-28 22:43:21 +01:00
parent aaf7f03d95
commit 930eb27ba7

View File

@ -40,8 +40,8 @@ endif()
set(LWIP_COMPILER_FLAGS_GNU_CLANG
$<$<CONFIG:Debug>:-Og>
$<$<CONFIG:Debug>:-g>
$<$<CONFIG:Release>:-O3>
-g
-Wall
-pedantic
-Werror