Kylin/Universal/CMakeLists.txt
2023-07-21 11:53:19 +08:00

19 lines
473 B
CMake

find_package(Boost REQUIRED COMPONENTS log log_setup)
add_library(Universal
BoostLog.h BoostLog.inl BoostLog.cpp
DateTime.h DateTime.cpp
FunctionTraits.h
IoContext.h IoContext.cpp
MessageManager.h MessageManager.inl MessageManager.cpp
Singleton.h
StreamFormat.h StreamFormat.inl StreamFormat.cpp
)
target_include_directories(Universal
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
target_link_libraries(Universal
PUBLIC ${Boost_LIBRARIES}
)