Older/Server/CMakeLists.txt
amass 83b0ff4369
All checks were successful
Deploy Docker Images / Build dockerfile and Server deploy (push) Successful in 18s
Deploy / Build (push) Successful in 3m0s
add exit command.
2024-11-10 18:33:39 +08:00

33 lines
940 B
CMake

find_package(Boost COMPONENTS program_options json REQUIRED)
add_subdirectory(ChatRoom)
add_subdirectory(Database)
add_subdirectory(WebRTC)
add_executable(Server main.cpp
Application.h Application.cpp
HttpSession.h HttpSession.cpp
Listener.h Listener.cpp
ResponseUtility.h ResponseUtility.cpp
ServiceLogic.h ServiceLogic.inl ServiceLogic.cpp
ServiceManager.h
SystemUsage.h SystemUsage.cpp
UdpServer.h UdpServer.cpp
Live2dBackend.h Live2dBackend.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
PRIVATE Database
PRIVATE MediaServer
PRIVATE WebApplication
PRIVATE Nng
PRIVATE ${Boost_LIBRARIES}
)
set_target_properties(Server PROPERTIES
OUTPUT_NAME HttpServer
)