Stripped-down and auto-generated Raylib build for Meson projects.
- Create a meson.build file like this:
project('myproject', 'c', version : '1.0.0', license: 'MIT' ) raylib_proj = subproject('raylib') raylib_dep = raylib_proj.get_variable('raylib_dep') executable('myproject', 'myproject.c', dependencies: [raylib_dep] )
An example can be found here
-
Create the subprojects .wrap files
-
Build the project
meson build cd build ninja
To regenerate, you would need:
- Lua5.1+
- Latest Meson + Ninja
- GIT
- A posix-compatible OS/Shell
Run the following:
chmod +x get.lua
./get.lua
This repo is a fork of @RobLoach's fantastic raylib-meson, I had to upload it as a separate repository because git freaked up and ended making .git/objects/pack over 70MB and that defeats the whole purpose of this fork