1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:48:12 +00:00
serenity/Userland/Services/WindowServer/CMakeLists.txt
kleines Filmröllchen 935f401714 WindowServer: Create the VirtualScreenBackend
This screen backend is just memory-backed and doesn't connect to any
screen hardware. That way, we can boot Serenity without video hardware
but in full graphical mode :^)

To create a virtual screen, put something like this in your
WindowServer.ini. There's no way yet to do this through Display
Settings, though an existing virtual screen's settings can be changed
there.
```ini
[Screen0]
Mode=Virtual
Left=1024
Top=0
Width=1920
Height=1080
ScaleFactor=1
```
2022-04-21 13:41:55 +02:00

46 lines
1.1 KiB
CMake

serenity_component(
WindowServer
REQUIRED
TARGETS WindowServer
)
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
compile_ipc(WindowManagerServer.ipc WindowManagerServerEndpoint.h)
compile_ipc(WindowManagerClient.ipc WindowManagerClientEndpoint.h)
set(SOURCES
Animation.cpp
AppletManager.cpp
Button.cpp
ConnectionFromClient.cpp
Compositor.cpp
Cursor.cpp
EventLoop.cpp
main.cpp
Menu.cpp
Menubar.cpp
MenuItem.cpp
MenuManager.cpp
MultiScaleBitmaps.cpp
Overlays.cpp
Screen.cpp
HardwareScreenBackend.cpp
VirtualScreenBackend.cpp
ScreenLayout.cpp
Window.cpp
WindowFrame.cpp
WindowManager.cpp
WindowStack.cpp
WindowSwitcher.cpp
WindowServerEndpoint.h
WindowClientEndpoint.h
WindowManagerServerEndpoint.h
WindowManagerClientEndpoint.h
WMConnectionFromClient.cpp
KeymapSwitcher.cpp
)
serenity_bin(WindowServer)
target_link_libraries(WindowServer LibCore LibGfx LibThreading LibIPC LibMain)
serenity_install_headers(Services/WindowServer)