mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 05:29:56 +00:00
This adds component declarations so that users can select to not build certain parts of the OS.
17 lines
376 B
CMake
17 lines
376 B
CMake
serenity_component(
|
|
WebSocket
|
|
TARGETS WebSocket
|
|
)
|
|
|
|
compile_ipc(WebSocketServer.ipc WebSocketServerEndpoint.h)
|
|
compile_ipc(WebSocketClient.ipc WebSocketClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
ClientConnection.cpp
|
|
main.cpp
|
|
WebSocketClientEndpoint.h
|
|
WebSocketServerEndpoint.h
|
|
)
|
|
|
|
serenity_bin(WebSocket)
|
|
target_link_libraries(WebSocket LibCore LibIPC LibWebSocket)
|