Older/Server/CMakeLists.txt

28 lines
801 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
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
2023-07-21 16:17:01 +08:00
PRIVATE ${Boost_LIBRARIES}
)
set_target_properties(Server PROPERTIES
OUTPUT_NAME HttpServer
)