Rover656 / raylib-meson-template

Minimal template project for C/C++ applications using raylib built using Meson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal raylib + Meson C/C++ template

Minimal template project for C/C++ applications using raylib built using Meson.

Prerequisites

Windows

I have had the best success building with MinGW (MSYS2) however this was because I didn't want VS build tools on my path constantly.

Web (On Windows)

I have had tons of issues with emscripten on Windows, so this repo depends on Docker for Windows when building web.

Web (On Linux)

You'll need to install the usual emscripten tools for raylib.

Setting up

There are scripts for both native and web use.

I don't really know what the original repo had this here for, so I left it in. Cross-compiled Windows builds using MinGW:

$ meson setup --cross-file cross-file/windows32.ini build/win32
# compile with
$ meson compile -C build/win32

About

Minimal template project for C/C++ applications using raylib built using Meson

License:The Unlicense


Languages

Language:Meson 60.5%Language:C 20.7%Language:Batchfile 8.7%Language:Dockerfile 6.4%Language:Shell 3.7%