From 2728dae14c0e2d05d554e3581ed95f36b1e30e0e Mon Sep 17 00:00:00 2001 From: Janusz Jankowski Date: Sun, 3 Feb 2019 00:03:40 +0100 Subject: [PATCH] cmake: tools: logger Signed-off-by: Janusz Jankowski --- tools/CMakeLists.txt | 2 ++ tools/logger/CMakeLists.txt | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tools/logger/CMakeLists.txt 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}" +)