mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
30 lines
633 B
CMake
30 lines
633 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)
|