mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00

LibTLS still can't access many parts of the web, so let's hide this behind a flag (with all the plumbing that entails). Hopefully this can encourage folks to improve LibTLS's algorithm support :^).
23 lines
549 B
CMake
23 lines
549 B
CMake
set(SOURCES
|
|
Request.cpp
|
|
RequestClient.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
../../Services/RequestServer/RequestClientEndpoint.h
|
|
../../Services/RequestServer/RequestServerEndpoint.h
|
|
)
|
|
|
|
if (SERENITYOS)
|
|
list(APPEND SOURCES
|
|
WebSocket.cpp
|
|
WebSocketClient.cpp
|
|
)
|
|
list(APPEND GENERATED_SOURCES
|
|
../../Services/WebSocket/WebSocketClientEndpoint.h
|
|
../../Services/WebSocket/WebSocketServerEndpoint.h
|
|
)
|
|
endif()
|
|
|
|
serenity_lib(LibProtocol protocol)
|
|
target_link_libraries(LibProtocol PRIVATE LibCore LibIPC)
|