From d441d856d7166ae27a70814b756f2d0c29d88a63 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Thu, 6 Jun 2024 21:52:52 +0200 Subject: [PATCH] Update README.md --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0de946a..388415f 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,27 @@ - https://wayland-book.com/ + ## Compiling ```bash -mkdir bin +mkdir -p build # Create build directory ``` -Server ```bash -cc -o ./bin/server ./src/server.c -lwayland-server +cmake -Bbuild -G Ninja # Configure build folder with ninja builder ``` -Client ```bash -cc -o ./bin/client ./src/client.c -lwayland-client +ninja -C build ``` ## Run -Server ```bash -./bin/server & +./build/wayland_test_server & ``` -Client - ```bash -WAYLAND_DISPLAY=wayland-1 ./bin/client +./build/wayland_test_client ```