summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer/CMakeLists.txt
blob: 9090b009bd7a52583a7b8491a24f68eb94f8212e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)