Commit a31e5a55 authored by Henrique Silva's avatar Henrique Silva

Add a different build type to include trace features

parent 2607bd27
......@@ -52,7 +52,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug CACHE STRING
"Choose the type of build, options are: none Debug Release."
"Choose the type of build, options are: none Debug Release Trace."
FORCE)
endif()
......@@ -83,8 +83,8 @@ add_subdirectory(port)
add_subdirectory(FreeRTOS)
add_subdirectory(boot)
add_subdirectory(modules)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
#add_subdirectory(trace)
if(CMAKE_BUILD_TYPE STREQUAL "Trace")
add_subdirectory(trace)
endif()
# Libraries path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment