From b88f422ed070028b4f96a0cc3eaacf96604badd6 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 8 Jun 2017 17:11:29 +0200 Subject: [PATCH] Add info about meson build --- Compile-for-GNU-Linux.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Compile-for-GNU-Linux.md b/Compile-for-GNU-Linux.md index 335dd9a..d96a7b8 100644 --- a/Compile-for-GNU-Linux.md +++ b/Compile-for-GNU-Linux.md @@ -25,7 +25,7 @@ Now, you need to download GLFW3 from sources and build it (you also need cmake t cmake . sudo make install -#### Build raylib source code +#### Build raylib source code using make You can compile three different type of raylib library: * The static library (default method); @@ -65,6 +65,21 @@ To force one example recompile: make core_basic_window PLATFORM=PLATFORM_DESKTOP -B +### Build raylib source code using meson + +Building with meson on Linux is easy. If you have all the dependencies installed just use the following: + +``` +git clone https://github.com/raysan5/raylib.git raylib +cd raylib +meson builddir +cd builddir +ninja +ninja install +``` + +In case any dependencies are missing, meson will tell you. + **If you have any doubt, [just let me know][raysan5].** [raysan5]: mailto:raysan5@gmail.com "Ramon Santamaria - Ray San" \ No newline at end of file