cmake: tools: logger

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-02-03 00:03:40 +01:00 committed by Liam Girdwood
parent cfa10b808d
commit 2728dae14c
2 changed files with 15 additions and 0 deletions

View File

@ -11,3 +11,5 @@ endif()
project(SOF_TOOLS C) project(SOF_TOOLS C)
set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}/..") set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}/..")
add_subdirectory(logger)

View File

@ -0,0 +1,13 @@
add_executable(sof-logger
logger.c
convert.c
)
target_compile_options(sof-logger PRIVATE
-Wall -Werror
)
target_include_directories(sof-logger PRIVATE
"${SOF_ROOT_SOURCE_DIRECTORY}/src/include"
"${SOF_ROOT_SOURCE_DIRECTORY}"
)