diff options
Diffstat (limited to 'source/app')
| -rw-r--r-- | source/app/wandac/CMakeLists.txt | 21 |
1 files changed, 16 insertions, 5 deletions
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 "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" ) -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" ) |
