aboutsummaryrefslogtreecommitdiff
path: root/source/app/wandac/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/app/wandac/CMakeLists.txt')
-rw-r--r--source/app/wandac/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/app/wandac/CMakeLists.txt b/source/app/wandac/CMakeLists.txt
new file mode 100644
index 0000000..a9b977c
--- /dev/null
+++ b/source/app/wandac/CMakeLists.txt
@@ -0,0 +1,25 @@
+find_package("lyra")
+find_package("spdlog")
+
+#[=====[ Client ]=====]
+
+add_executable("wandac"
+ "src/main.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")