Merge branch 'dev' into feature/28-profile-parser

This commit is contained in:
Mario Hüttel 2021-04-06 19:45:37 +02:00
commit 7c9d296e34

View File

@ -49,13 +49,17 @@ message("${BoldGreen}Version: ${GIT_DESCRIBE}${ColorReset}")
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DDEBUGBUILD)
add_compile_options(-O0 -g)
add_compile_options(-Og -g)
ELSE()
add_definitions(-DDEBUGBUILD)
add_compile_options(-O3 -g)
add_link_options(-Wl,--gc-sections)
ENDIF(CMAKE_BUILD_TYPE STREQUAL "Debug")
if (DEFINED UART_ON_DEBUG_HEADER)
add_definitions(-DUART_ON_DEBUG_HEADER)
endif (DEFINED UART_ON_DEBUG_HEADER)
add_subdirectory(base64-lib)