Skip to content

RobLoach/raylib-meson

Repository files navigation

raylib-meson

raylib build for Meson projects.

Usage

  1. Create a meson.build file

    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]
    )
  2. Create the subprojects .wrap files

  3. Build the project

    meson build
    cd build
    ninja

See the examples folder for some examples of this in place. Also see raylib-meson-sample for a dedicated repository.

Development

git submodule update --init
meson build
cd build
ninja

Releases

No releases published

Packages

No packages published

Languages