mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:47:34 +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:
parent
6e094b8dbe
commit
631d36fd98
89 changed files with 535 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
AudioServer
|
||||
RECOMMENDED
|
||||
TARGETS AudioServer
|
||||
)
|
||||
|
||||
compile_ipc(AudioServer.ipc AudioServerEndpoint.h)
|
||||
compile_ipc(AudioClient.ipc AudioClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
ChessEngine
|
||||
TARGETS ChessEngine
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
ChessEngine.cpp
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Clipboard
|
||||
REQUIRED
|
||||
TARGETS Clipboard
|
||||
)
|
||||
|
||||
compile_ipc(ClipboardServer.ipc ClipboardServerEndpoint.h)
|
||||
compile_ipc(ClipboardClient.ipc ClipboardClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
CrashDaemon
|
||||
REQUIRED
|
||||
TARGETS CrashDaemon
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
DHCPClient
|
||||
REQUIRED
|
||||
TARGETS DHCPClient
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
DHCPv4Client.cpp
|
||||
DHCPv4.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
EchoServer
|
||||
TARGETS EchoServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
Client.cpp
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
FileOperation
|
||||
TARGETS FileOperation
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
ImageDecoder
|
||||
TARGETS ImageDecoder
|
||||
)
|
||||
|
||||
compile_ipc(ImageDecoderServer.ipc ImageDecoderServerEndpoint.h)
|
||||
compile_ipc(ImageDecoderClient.ipc ImageDecoderClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
InspectorServer
|
||||
REQUIRED
|
||||
TARGETS InspectorServer
|
||||
)
|
||||
|
||||
compile_ipc(InspectorServer.ipc InspectorServerEndpoint.h)
|
||||
compile_ipc(InspectorClient.ipc InspectorClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
KeyboardPreferenceLoader
|
||||
REQUIRED
|
||||
TARGETS KeyboardPreferenceLoader keymap
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
LaunchServer
|
||||
REQUIRED
|
||||
TARGETS LaunchServer
|
||||
)
|
||||
|
||||
compile_ipc(LaunchServer.ipc LaunchServerEndpoint.h)
|
||||
compile_ipc(LaunchClient.ipc LaunchClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
LookupServer
|
||||
REQUIRED
|
||||
TARGETS LookupServer
|
||||
)
|
||||
|
||||
compile_ipc(LookupServer.ipc LookupServerEndpoint.h)
|
||||
compile_ipc(LookupClient.ipc LookupClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
NotificationServer
|
||||
REQUIRED
|
||||
TARGETS NotificationServer
|
||||
)
|
||||
|
||||
compile_ipc(NotificationServer.ipc NotificationServerEndpoint.h)
|
||||
compile_ipc(NotificationClient.ipc NotificationClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
RequestServer
|
||||
TARGETS RequestServer
|
||||
)
|
||||
|
||||
compile_ipc(RequestServer.ipc RequestServerEndpoint.h)
|
||||
compile_ipc(RequestClient.ipc RequestClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
SystemServer
|
||||
REQUIRED
|
||||
TARGETS SystemServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
Service.cpp
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
serenity_component(
|
||||
Taskbar
|
||||
REQUIRED
|
||||
TARGETS Taskbar
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
ClockWidget.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
TelnetServer
|
||||
TARGETS TelnetServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
Client.cpp
|
||||
main.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
WebContent
|
||||
TARGETS WebContent
|
||||
)
|
||||
|
||||
compile_ipc(WebContentServer.ipc WebContentServerEndpoint.h)
|
||||
compile_ipc(WebContentClient.ipc WebContentClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
WebServer
|
||||
TARGETS WebServer
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
Client.cpp
|
||||
Configuration.cpp
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
serenity_component(
|
||||
WebSocket
|
||||
TARGETS WebSocket
|
||||
)
|
||||
|
||||
compile_ipc(WebSocketServer.ipc WebSocketServerEndpoint.h)
|
||||
compile_ipc(WebSocketClient.ipc WebSocketClientEndpoint.h)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue