mirror of https://github.com/thesofproject/sof.git
cmake: tools: logger
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
parent
cfa10b808d
commit
2728dae14c
|
@ -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)
|
||||||
|
|
|
@ -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}"
|
||||||
|
)
|
Loading…
Reference in New Issue