diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-15 15:16:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-17 11:03:51 +0200 |
commit | 631d36fd9821e48b3b3b53ac609e2e50b254d15b (patch) | |
tree | 48f8af868a0ff3a66bb8d8435aca497bef093113 /Userland/Services | |
parent | 6e094b8dbe91bea983284c747eaba5c6083eb364 (diff) | |
download | serenity-631d36fd9821e48b3b3b53ac609e2e50b254d15b.zip |
Everywhere: Add component declarations
This adds component declarations so that users can select to not build
certain parts of the OS.
Diffstat (limited to 'Userland/Services')
21 files changed, 117 insertions, 0 deletions
diff --git a/Userland/Services/AudioServer/CMakeLists.txt b/Userland/Services/AudioServer/CMakeLists.txt index e82b4732b0..a1a0d8803b 100644 --- a/Userland/Services/AudioServer/CMakeLists.txt +++ b/Userland/Services/AudioServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + AudioServer + RECOMMENDED + TARGETS AudioServer +) + compile_ipc(AudioServer.ipc AudioServerEndpoint.h) compile_ipc(AudioClient.ipc AudioClientEndpoint.h) diff --git a/Userland/Services/ChessEngine/CMakeLists.txt b/Userland/Services/ChessEngine/CMakeLists.txt index 288529a100..d5b61aab8c 100644 --- a/Userland/Services/ChessEngine/CMakeLists.txt +++ b/Userland/Services/ChessEngine/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + ChessEngine + TARGETS ChessEngine +) + set(SOURCES ChessEngine.cpp main.cpp diff --git a/Userland/Services/Clipboard/CMakeLists.txt b/Userland/Services/Clipboard/CMakeLists.txt index 4f0e5ab65a..499c514ab3 100644 --- a/Userland/Services/Clipboard/CMakeLists.txt +++ b/Userland/Services/Clipboard/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + Clipboard + REQUIRED + TARGETS Clipboard +) + compile_ipc(ClipboardServer.ipc ClipboardServerEndpoint.h) compile_ipc(ClipboardClient.ipc ClipboardClientEndpoint.h) diff --git a/Userland/Services/CrashDaemon/CMakeLists.txt b/Userland/Services/CrashDaemon/CMakeLists.txt index 232c4d5a84..c4fee7622b 100644 --- a/Userland/Services/CrashDaemon/CMakeLists.txt +++ b/Userland/Services/CrashDaemon/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + CrashDaemon + REQUIRED + TARGETS CrashDaemon +) + set(SOURCES main.cpp ) diff --git a/Userland/Services/DHCPClient/CMakeLists.txt b/Userland/Services/DHCPClient/CMakeLists.txt index 6fddd4a21f..30d3dd70d2 100644 --- a/Userland/Services/DHCPClient/CMakeLists.txt +++ b/Userland/Services/DHCPClient/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + DHCPClient + REQUIRED + TARGETS DHCPClient +) + set(SOURCES DHCPv4Client.cpp DHCPv4.cpp diff --git a/Userland/Services/EchoServer/CMakeLists.txt b/Userland/Services/EchoServer/CMakeLists.txt index e7d67fe14e..498be2d59f 100644 --- a/Userland/Services/EchoServer/CMakeLists.txt +++ b/Userland/Services/EchoServer/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + EchoServer + TARGETS EchoServer +) + set(SOURCES Client.cpp main.cpp diff --git a/Userland/Services/FileOperation/CMakeLists.txt b/Userland/Services/FileOperation/CMakeLists.txt index 6373889dc5..f54162e885 100644 --- a/Userland/Services/FileOperation/CMakeLists.txt +++ b/Userland/Services/FileOperation/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + FileOperation + TARGETS FileOperation +) + set(SOURCES main.cpp ) diff --git a/Userland/Services/ImageDecoder/CMakeLists.txt b/Userland/Services/ImageDecoder/CMakeLists.txt index 56482fe31d..9677a1c15b 100644 --- a/Userland/Services/ImageDecoder/CMakeLists.txt +++ b/Userland/Services/ImageDecoder/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + ImageDecoder + TARGETS ImageDecoder +) + compile_ipc(ImageDecoderServer.ipc ImageDecoderServerEndpoint.h) compile_ipc(ImageDecoderClient.ipc ImageDecoderClientEndpoint.h) diff --git a/Userland/Services/InspectorServer/CMakeLists.txt b/Userland/Services/InspectorServer/CMakeLists.txt index 2adbe4a4d6..d5ec047757 100644 --- a/Userland/Services/InspectorServer/CMakeLists.txt +++ b/Userland/Services/InspectorServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + InspectorServer + REQUIRED + TARGETS InspectorServer +) + compile_ipc(InspectorServer.ipc InspectorServerEndpoint.h) compile_ipc(InspectorClient.ipc InspectorClientEndpoint.h) diff --git a/Userland/Services/KeyboardPreferenceLoader/CMakeLists.txt b/Userland/Services/KeyboardPreferenceLoader/CMakeLists.txt index fdf613f09d..a2a9000d4b 100644 --- a/Userland/Services/KeyboardPreferenceLoader/CMakeLists.txt +++ b/Userland/Services/KeyboardPreferenceLoader/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + KeyboardPreferenceLoader + REQUIRED + TARGETS KeyboardPreferenceLoader keymap +) + set(SOURCES main.cpp ) diff --git a/Userland/Services/LaunchServer/CMakeLists.txt b/Userland/Services/LaunchServer/CMakeLists.txt index 29308ce7f1..137b3285b0 100644 --- a/Userland/Services/LaunchServer/CMakeLists.txt +++ b/Userland/Services/LaunchServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + LaunchServer + REQUIRED + TARGETS LaunchServer +) + compile_ipc(LaunchServer.ipc LaunchServerEndpoint.h) compile_ipc(LaunchClient.ipc LaunchClientEndpoint.h) diff --git a/Userland/Services/LookupServer/CMakeLists.txt b/Userland/Services/LookupServer/CMakeLists.txt index 3308de8b9a..84cf215339 100644 --- a/Userland/Services/LookupServer/CMakeLists.txt +++ b/Userland/Services/LookupServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + LookupServer + REQUIRED + TARGETS LookupServer +) + compile_ipc(LookupServer.ipc LookupServerEndpoint.h) compile_ipc(LookupClient.ipc LookupClientEndpoint.h) diff --git a/Userland/Services/NotificationServer/CMakeLists.txt b/Userland/Services/NotificationServer/CMakeLists.txt index a28d9f16a5..fc59c4d4e0 100644 --- a/Userland/Services/NotificationServer/CMakeLists.txt +++ b/Userland/Services/NotificationServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + NotificationServer + REQUIRED + TARGETS NotificationServer +) + compile_ipc(NotificationServer.ipc NotificationServerEndpoint.h) compile_ipc(NotificationClient.ipc NotificationClientEndpoint.h) diff --git a/Userland/Services/RequestServer/CMakeLists.txt b/Userland/Services/RequestServer/CMakeLists.txt index c027c7e4ea..5033367604 100644 --- a/Userland/Services/RequestServer/CMakeLists.txt +++ b/Userland/Services/RequestServer/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + RequestServer + TARGETS RequestServer +) + compile_ipc(RequestServer.ipc RequestServerEndpoint.h) compile_ipc(RequestClient.ipc RequestClientEndpoint.h) diff --git a/Userland/Services/SystemServer/CMakeLists.txt b/Userland/Services/SystemServer/CMakeLists.txt index fda6eb1bcc..c648051333 100644 --- a/Userland/Services/SystemServer/CMakeLists.txt +++ b/Userland/Services/SystemServer/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + SystemServer + REQUIRED + TARGETS SystemServer +) + set(SOURCES main.cpp Service.cpp diff --git a/Userland/Services/Taskbar/CMakeLists.txt b/Userland/Services/Taskbar/CMakeLists.txt index 1367480921..dd04d7584d 100644 --- a/Userland/Services/Taskbar/CMakeLists.txt +++ b/Userland/Services/Taskbar/CMakeLists.txt @@ -1,3 +1,9 @@ +serenity_component( + Taskbar + REQUIRED + TARGETS Taskbar +) + set(SOURCES main.cpp ClockWidget.cpp diff --git a/Userland/Services/TelnetServer/CMakeLists.txt b/Userland/Services/TelnetServer/CMakeLists.txt index e19ae8bac6..9f0ebb5414 100644 --- a/Userland/Services/TelnetServer/CMakeLists.txt +++ b/Userland/Services/TelnetServer/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + TelnetServer + TARGETS TelnetServer +) + set(SOURCES Client.cpp main.cpp diff --git a/Userland/Services/WebContent/CMakeLists.txt b/Userland/Services/WebContent/CMakeLists.txt index 14f94053f2..a1886c6b63 100644 --- a/Userland/Services/WebContent/CMakeLists.txt +++ b/Userland/Services/WebContent/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + WebContent + TARGETS WebContent +) + compile_ipc(WebContentServer.ipc WebContentServerEndpoint.h) compile_ipc(WebContentClient.ipc WebContentClientEndpoint.h) diff --git a/Userland/Services/WebServer/CMakeLists.txt b/Userland/Services/WebServer/CMakeLists.txt index 5cb8b7384f..02e04008fb 100644 --- a/Userland/Services/WebServer/CMakeLists.txt +++ b/Userland/Services/WebServer/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + WebServer + TARGETS WebServer +) + set(SOURCES Client.cpp Configuration.cpp diff --git a/Userland/Services/WebSocket/CMakeLists.txt b/Userland/Services/WebSocket/CMakeLists.txt index 2dc8971c2c..47b73ae266 100644 --- a/Userland/Services/WebSocket/CMakeLists.txt +++ b/Userland/Services/WebSocket/CMakeLists.txt @@ -1,3 +1,8 @@ +serenity_component( + WebSocket + TARGETS WebSocket +) + compile_ipc(WebSocketServer.ipc WebSocketServerEndpoint.h) compile_ipc(WebSocketClient.ipc WebSocketClientEndpoint.h) diff --git a/Userland/Services/WindowServer/CMakeLists.txt b/Userland/Services/WindowServer/CMakeLists.txt index 533e004107..5eb4948f0e 100644 --- a/Userland/Services/WindowServer/CMakeLists.txt +++ b/Userland/Services/WindowServer/CMakeLists.txt @@ -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) |