aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
new file mode 100644
index 00000000..afbbc139
--- /dev/null
+++ b/src/common/CMakeLists.txt
@@ -0,0 +1,13 @@
+set(CRU_BASE_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/common)
+add_library(cru_base STATIC
+ logger.cpp
+)
+target_sources(cru_base INTERFACE
+ ${CRU_BASE_INCLUDE_DIR}/base.hpp
+ ${CRU_BASE_INCLUDE_DIR}/event.hpp
+ ${CRU_BASE_INCLUDE_DIR}/format.hpp
+ ${CRU_BASE_INCLUDE_DIR}/logger.hpp
+ ${CRU_BASE_INCLUDE_DIR}/pre_config.hpp
+ ${CRU_BASE_INCLUDE_DIR}/self_resolvable.hpp
+)
+target_include_directories(cru_base PUBLIC ${CRU_INCLUDE_DIR})