aboutsummaryrefslogtreecommitdiff
path: root/source/app/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/app/CMakeLists.txt')
-rw-r--r--source/app/CMakeLists.txt51
1 files changed, 2 insertions, 49 deletions
diff --git a/source/app/CMakeLists.txt b/source/app/CMakeLists.txt
index 175a901..1ac7ab1 100644
--- a/source/app/CMakeLists.txt
+++ b/source/app/CMakeLists.txt
@@ -2,52 +2,5 @@ include("CheckIPOSupported")
check_ipo_supported(RESULT "WANDA_IPO_SUPPORTED")
-find_package("lyra")
-find_package("spdlog")
-
-#[=====[ Client ]=====]
-
-add_executable("wandac"
- "src/wandac.cpp"
-)
-
-target_link_libraries("${PROJECT_NAME}c" PRIVATE
- "wanda::control"
- "wanda::proto"
- "wanda::system"
-
- "bfg::lyra"
- "spdlog::spdlog_header_only"
-)
-
-set_target_properties("wandac" PROPERTIES
- CXX_STANDARD_REQUIRED YES
- CXX_EXTENSIONS OFF
- INTERPROCEDURAL_OPTIMIZATION ${WANDA_IPO_SUPPORTED}
-)
-
-install(TARGETS "wandac")
-
-#[=====[ Server ]=====]
-
-add_executable("wandad"
- "src/wandad.cpp"
-)
-
-target_link_libraries("wandad" PRIVATE
- "wanda::control"
- "wanda::proto"
- "wanda::std_ext"
- "wanda::system"
-
- "bfg::lyra"
- "spdlog::spdlog_header_only"
-)
-
-set_target_properties("wandad" PROPERTIES
- CXX_STANDARD_REQUIRED YES
- CXX_EXTENSIONS OFF
- INTERPROCEDURAL_OPTIMIZATION ${WANDA_IPO_SUPPORTED}
-)
-
-install(TARGETS "wandad")
+add_subdirectory("wandac")
+add_subdirectory("wandad") \ No newline at end of file