1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:37:45 +00:00

Everywhere: Add component declarations

This adds component declarations so that users can select to not build
certain parts of the OS.
This commit is contained in:
Gunnar Beutner 2021-06-15 15:16:32 +02:00 committed by Andreas Kling
parent 6e094b8dbe
commit 631d36fd98
89 changed files with 535 additions and 8 deletions

View file

@ -1,3 +1,9 @@
serenity_component(
AudioServer
RECOMMENDED
TARGETS AudioServer
)
compile_ipc(AudioServer.ipc AudioServerEndpoint.h)
compile_ipc(AudioClient.ipc AudioClientEndpoint.h)

View file

@ -1,3 +1,8 @@
serenity_component(
ChessEngine
TARGETS ChessEngine
)
set(SOURCES
ChessEngine.cpp
main.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Clipboard
REQUIRED
TARGETS Clipboard
)
compile_ipc(ClipboardServer.ipc ClipboardServerEndpoint.h)
compile_ipc(ClipboardClient.ipc ClipboardClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
CrashDaemon
REQUIRED
TARGETS CrashDaemon
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,9 @@
serenity_component(
DHCPClient
REQUIRED
TARGETS DHCPClient
)
set(SOURCES
DHCPv4Client.cpp
DHCPv4.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
EchoServer
TARGETS EchoServer
)
set(SOURCES
Client.cpp
main.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
FileOperation
TARGETS FileOperation
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,8 @@
serenity_component(
ImageDecoder
TARGETS ImageDecoder
)
compile_ipc(ImageDecoderServer.ipc ImageDecoderServerEndpoint.h)
compile_ipc(ImageDecoderClient.ipc ImageDecoderClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
InspectorServer
REQUIRED
TARGETS InspectorServer
)
compile_ipc(InspectorServer.ipc InspectorServerEndpoint.h)
compile_ipc(InspectorClient.ipc InspectorClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
KeyboardPreferenceLoader
REQUIRED
TARGETS KeyboardPreferenceLoader keymap
)
set(SOURCES
main.cpp
)

View file

@ -1,3 +1,9 @@
serenity_component(
LaunchServer
REQUIRED
TARGETS LaunchServer
)
compile_ipc(LaunchServer.ipc LaunchServerEndpoint.h)
compile_ipc(LaunchClient.ipc LaunchClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
LookupServer
REQUIRED
TARGETS LookupServer
)
compile_ipc(LookupServer.ipc LookupServerEndpoint.h)
compile_ipc(LookupClient.ipc LookupClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
NotificationServer
REQUIRED
TARGETS NotificationServer
)
compile_ipc(NotificationServer.ipc NotificationServerEndpoint.h)
compile_ipc(NotificationClient.ipc NotificationClientEndpoint.h)

View file

@ -1,3 +1,8 @@
serenity_component(
RequestServer
TARGETS RequestServer
)
compile_ipc(RequestServer.ipc RequestServerEndpoint.h)
compile_ipc(RequestClient.ipc RequestClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
SystemServer
REQUIRED
TARGETS SystemServer
)
set(SOURCES
main.cpp
Service.cpp

View file

@ -1,3 +1,9 @@
serenity_component(
Taskbar
REQUIRED
TARGETS Taskbar
)
set(SOURCES
main.cpp
ClockWidget.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
TelnetServer
TARGETS TelnetServer
)
set(SOURCES
Client.cpp
main.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
WebContent
TARGETS WebContent
)
compile_ipc(WebContentServer.ipc WebContentServerEndpoint.h)
compile_ipc(WebContentClient.ipc WebContentClientEndpoint.h)

View file

@ -1,3 +1,8 @@
serenity_component(
WebServer
TARGETS WebServer
)
set(SOURCES
Client.cpp
Configuration.cpp

View file

@ -1,3 +1,8 @@
serenity_component(
WebSocket
TARGETS WebSocket
)
compile_ipc(WebSocketServer.ipc WebSocketServerEndpoint.h)
compile_ipc(WebSocketClient.ipc WebSocketClientEndpoint.h)

View file

@ -1,3 +1,9 @@
serenity_component(
WindowServer
REQUIRED
TARGETS WindowServer
)
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
compile_ipc(WindowManagerServer.ipc WindowManagerServerEndpoint.h)