Older/Server/CMakeLists.txt

30 lines
859 B
CMake
Raw Normal View History

2023-07-21 16:17:01 +08:00
find_package(Boost COMPONENTS program_options json REQUIRED)
2024-01-24 23:19:53 +08:00
add_subdirectory(ChatRoom)
2024-01-03 22:44:36 +08:00
add_subdirectory(Database)
2024-01-24 23:19:53 +08:00
add_subdirectory(WebRTC)
2023-12-30 01:19:36 +08:00
2023-07-21 16:17:01 +08:00
add_executable(Server main.cpp
2024-01-24 23:19:53 +08:00
Application.h Application.cpp
2023-07-21 16:17:01 +08:00
HttpSession.h HttpSession.cpp
Listener.h Listener.cpp
ResponseUtility.h ResponseUtility.cpp
ServiceLogic.h ServiceLogic.inl ServiceLogic.cpp
ServiceManager.h
2024-05-03 22:30:46 +08:00
SystemUsage.h SystemUsage.cpp
2023-07-21 16:17:01 +08:00
UdpServer.h UdpServer.cpp
WeChatContext/CorporationContext.h WeChatContext/CorporationContext.cpp
WeChatContext/WeChatContext.h WeChatContext/WeChatContext.cpp
WeChatContext/WeChatSession.h WeChatContext/WeChatSession.cpp
)
target_link_libraries(Server
PRIVATE HttpProxy
2023-12-30 01:19:36 +08:00
PRIVATE Database
2024-09-28 23:55:00 +08:00
PRIVATE MediaServer
2023-07-21 16:17:01 +08:00
PRIVATE ${Boost_LIBRARIES}
)
set_target_properties(Server PROPERTIES
OUTPUT_NAME HttpServer
)