DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Developer guide

Debug builds and nested testing

Developer guide

Build a separate tree for debugging, then run it nested or headless.

SECTION 05 · Development
Scope: Contributor Setup
Repository and source ↗

Debug build

meson setup build-debug --buildtype=debug -Dasan=true
ninja -C build-debug

Run it

DRAGONFRUIT_SHADER_DIR=$PWD/assets/shaders ./build-debug/dragonfruit -d -c "$PWD/assets/config.conf"

Run it inside an existing Wayland session to get a window. Clear DRAGONFRUIT_INSTANCE_SIGNATURE first, or dfmsg may talk to your own session.

Related pages

← Previous

Contributing

Next →

Project structure