ladybird/Services/WindowServer/CMakeLists.txt
Andreas Kling 244efe050a Clipboard: Move the system clipboard to a dedicated service process :^)
This commit moves the clipboard from WindowServer into a new Clipboard
service program. Clipboard runs as the unprivileged "clipboard" user
and with a much tighter pledge than WindowServer.

To keep things working as before, all GUI::Application users now make
a connection to Clipboard after making the connection to WindowServer.
It could be interesting to connect to Clipboard on demand, but right
now that would necessitate expanding every GUI app's pledge to include
"unix" and also unveiling the clipboard portal, which I prefer not to.
2020-05-14 22:53:58 +02:00

27 lines
570 B
CMake

compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
set(SOURCES
AppletManager.cpp
Button.cpp
ClientConnection.cpp
Compositor.cpp
Cursor.cpp
EventLoop.cpp
main.cpp
MenuBar.cpp
Menu.cpp
MenuItem.cpp
MenuManager.cpp
Screen.cpp
Window.cpp
WindowFrame.cpp
WindowManager.cpp
WindowSwitcher.cpp
WindowServerEndpoint.h
WindowClientEndpoint.h
)
serenity_bin(WindowServer)
target_link_libraries(WindowServer LibCore LibGfx LibThread LibPthread LibIPC)