mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
This adds component declarations so that users can select to not build certain parts of the OS.
18 lines
376 B
CMake
18 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)
|