Merge branch 'dev' into feature/28-profile-parser
This commit is contained in:
commit
7c9d296e34
@ -49,13 +49,17 @@ message("${BoldGreen}Version: ${GIT_DESCRIBE}${ColorReset}")
|
|||||||
|
|
||||||
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
add_definitions(-DDEBUGBUILD)
|
add_definitions(-DDEBUGBUILD)
|
||||||
add_compile_options(-O0 -g)
|
add_compile_options(-Og -g)
|
||||||
ELSE()
|
ELSE()
|
||||||
add_definitions(-DDEBUGBUILD)
|
|
||||||
add_compile_options(-O3 -g)
|
add_compile_options(-O3 -g)
|
||||||
add_link_options(-Wl,--gc-sections)
|
add_link_options(-Wl,--gc-sections)
|
||||||
ENDIF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
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)
|
add_subdirectory(base64-lib)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user