mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:04:57 +00:00

This keeps the APIs separate as they are wildly different, a future improvement could be to somehow unify the APIs (if possible). Closes #23080.
29 lines
646 B
CMake
29 lines
646 B
CMake
serenity_component(
|
|
RequestServer
|
|
TARGETS RequestServer
|
|
)
|
|
|
|
compile_ipc(RequestServer.ipc RequestServerEndpoint.h)
|
|
compile_ipc(RequestClient.ipc RequestClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ConnectionFromClient.cpp
|
|
ConnectionCache.cpp
|
|
Request.cpp
|
|
GeminiRequest.cpp
|
|
GeminiProtocol.cpp
|
|
HttpRequest.cpp
|
|
HttpProtocol.cpp
|
|
HttpsRequest.cpp
|
|
HttpsProtocol.cpp
|
|
main.cpp
|
|
Protocol.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
RequestClientEndpoint.h
|
|
RequestServerEndpoint.h
|
|
)
|
|
|
|
serenity_bin(RequestServer)
|
|
target_link_libraries(RequestServer PRIVATE LibCore LibCrypto LibIPC LibGemini LibHTTP LibMain LibTLS LibWebSocket)
|