From 6b87b0563445d2f86d4d4c4d097db415a08b41a7 Mon Sep 17 00:00:00 2001 From: Luca Conte Date: Thu, 6 Mar 2025 02:50:15 +0100 Subject: [PATCH] update readme install and build instructions --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a2c616..1cf67e6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,27 @@ # Dependencies Installieren ```bash -sudo apt-get update -sudo apt-get install libglfw3 libglfw3-dev -sudo apt-get install libglew-dev +sudo apt update + +# basic build tools such as gcc +sudo apt install build-essential + +# meson and ninja for building +sudo apt install meson ninja-build + +# glfw +sudo apt install libglfw3 libglfw3-dev + +# glew +sudo apt install libglew-dev +``` + +# Building and running + +``` +meson setup build +meson compile -C build +./build/cg1 ``` # WSL