2023-07-25 10:40:14 +08:00
|
|
|
find_package(Boost REQUIRED COMPONENTS log log_setup program_options)
|
2023-07-21 10:47:31 +08:00
|
|
|
|
|
|
|
add_library(Universal
|
|
|
|
BoostLog.h BoostLog.inl BoostLog.cpp
|
2023-07-25 10:40:14 +08:00
|
|
|
BufferUtility.h BufferUtility.cpp
|
|
|
|
CommandLineInterpreter.h CommandLineInterpreter.cpp
|
2023-07-21 11:53:19 +08:00
|
|
|
DateTime.h DateTime.cpp
|
|
|
|
FunctionTraits.h
|
2023-07-21 11:21:16 +08:00
|
|
|
IoContext.h IoContext.cpp
|
|
|
|
MessageManager.h MessageManager.inl MessageManager.cpp
|
2023-07-25 10:40:14 +08:00
|
|
|
ProcessUtility.h ProcessUtility.inl ProcessUtility.cpp
|
2023-07-21 11:21:16 +08:00
|
|
|
Singleton.h
|
2023-07-25 10:40:14 +08:00
|
|
|
SingletonProcess.h SingletonProcess.cpp
|
2023-07-21 10:47:31 +08:00
|
|
|
StreamFormat.h StreamFormat.inl StreamFormat.cpp
|
2023-07-21 15:46:12 +08:00
|
|
|
StringUtility.h StringUtility.cpp
|
2023-07-21 10:47:31 +08:00
|
|
|
)
|
|
|
|
|
2023-07-21 11:21:16 +08:00
|
|
|
target_include_directories(Universal
|
|
|
|
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
2023-07-21 10:47:31 +08:00
|
|
|
target_link_libraries(Universal
|
2023-07-21 11:21:16 +08:00
|
|
|
PUBLIC ${Boost_LIBRARIES}
|
2023-07-21 10:47:31 +08:00
|
|
|
)
|