mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 16:45:08 +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)
|