aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-13 18:25:45 +0800
committercrupest <crupest@outlook.com>2022-01-13 18:25:45 +0800
commitd4d9c6810954010e5de23aba19244f59f2139e41 (patch)
treed2e3277cc7e1f352f1aa5f865b7c7450b9fe4247 /src/common/CMakeLists.txt
parent276ae73fa444c16f34a379ae9d8f58c883056b4a (diff)
downloadcru-d4d9c6810954010e5de23aba19244f59f2139e41.tar.gz
cru-d4d9c6810954010e5de23aba19244f59f2139e41.tar.bz2
cru-d4d9c6810954010e5de23aba19244f59f2139e41.zip
...
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 5cc60690..b91b380c 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -4,6 +4,8 @@ add_library(cru_base SHARED
PropertyTree.cpp
String.cpp
StringUtil.cpp
+ io/Stream.cpp
+ io/MemoryStream.cpp
)
target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/Base.hpp
@@ -12,10 +14,13 @@ target_sources(cru_base PUBLIC
${CRU_BASE_INCLUDE_DIR}/Exception.hpp
${CRU_BASE_INCLUDE_DIR}/Logger.hpp
${CRU_BASE_INCLUDE_DIR}/PreConfig.hpp
+ ${CRU_BASE_INCLUDE_DIR}/PropertyTree.hpp
${CRU_BASE_INCLUDE_DIR}/Range.hpp
${CRU_BASE_INCLUDE_DIR}/SelfResolvable.hpp
${CRU_BASE_INCLUDE_DIR}/String.hpp
${CRU_BASE_INCLUDE_DIR}/StringUtil.hpp
+ ${CRU_BASE_INCLUDE_DIR}/io/Stream.hpp
+ ${CRU_BASE_INCLUDE_DIR}/io/MemoryStream.hpp
)
target_include_directories(cru_base PUBLIC ${CRU_INCLUDE_DIR})
target_compile_definitions(cru_base PUBLIC $<$<CONFIG:Debug>:CRU_DEBUG>)