27 lines
450 B
CMake
27 lines
450 B
CMake
# third party requirements
|
|
add_subdirectory(third_party/r3)
|
|
|
|
add_library(base_http
|
|
server.cpp
|
|
|
|
proxy_address.cpp
|
|
|
|
# WebSocket stuff
|
|
websocket_client.cpp
|
|
websocket_message.cpp
|
|
)
|
|
|
|
lobbyserver_target(base_http)
|
|
|
|
target_link_libraries(base_http PUBLIC
|
|
spdlog::spdlog
|
|
base::impl
|
|
Boost::url
|
|
|
|
# We use the R3 router library
|
|
# TODO: Actually stop exposing this as it's only a implementation detail..
|
|
r3
|
|
)
|
|
|
|
add_library(base::http ALIAS base_http)
|