diff options
author | 杨宇千 <crupest@outlook.com> | 2019-09-08 22:24:28 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-09-08 22:24:28 +0800 |
commit | a8ba16ddab3291e59a33b36405462094f8cdf5bc (patch) | |
tree | aa849cdc1f9b4f7a0aa150f562b2e618c63ecceb /src/common/CMakeLists.txt | |
parent | 8b9a306d6f24dbc08aeee16b115260406e79126d (diff) | |
download | cru-a8ba16ddab3291e59a33b36405462094f8cdf5bc.tar.gz cru-a8ba16ddab3291e59a33b36405462094f8cdf5bc.tar.bz2 cru-a8ba16ddab3291e59a33b36405462094f8cdf5bc.zip |
...
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r-- | src/common/CMakeLists.txt | 13 |
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}) |