diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index ece4c4922..c3adce9de 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -11,3 +11,5 @@ endif() project(SOF_TOOLS C) set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}/..") + +add_subdirectory(logger) diff --git a/tools/logger/CMakeLists.txt b/tools/logger/CMakeLists.txt new file mode 100644 index 000000000..7f4125c8a --- /dev/null +++ b/tools/logger/CMakeLists.txt @@ -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}" +)