From b12e0ba49e10e5a511889acf4b6494d18a324194 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 8 Sep 2023 14:45:54 +0200 Subject: wandac: add tests for the CLI --- source/app/wandac/CMakeLists.txt | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'source/app/wandac') diff --git a/source/app/wandac/CMakeLists.txt b/source/app/wandac/CMakeLists.txt index 0a70e5b..71aff36 100644 --- a/source/app/wandac/CMakeLists.txt +++ b/source/app/wandac/CMakeLists.txt @@ -1,19 +1,30 @@ -add_executable("wandac" +add_library("${PROJECT_NAME}c-components" OBJECT "src/cli.cpp" "src/listener.cpp" - "src/main.cpp" ) -target_include_directories("${PROJECT_NAME}c" PRIVATE +target_include_directories("${PROJECT_NAME}c-components" PUBLIC "$" ) -target_link_libraries("${PROJECT_NAME}c" PRIVATE +target_link_libraries("${PROJECT_NAME}c-components" PUBLIC "wanda::control" "wanda::proto" - "wanda::system" "bfg::lyra" + "Boost::headers" +) + +add_executable("wandac" + "src/main.cpp" +) + + +target_link_libraries("${PROJECT_NAME}c" PRIVATE + "${PROJECT_NAME}c-components" + + "wanda::system" + "spdlog::spdlog_header_only" ) -- cgit v1.2.3