forked from pool/raylib
* Takes care of creating proper so versioning * Install works (where their makefiles didnt) - Add root-meson.build - Add src-meson.build Meson files will be in next release, see: https://github.com/raysan5/raylib/pull/297 See: https://github.com/raysan5/raylib/pull/295 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=2
23 lines
540 B
Plaintext
23 lines
540 B
Plaintext
install_headers('raylib.h')
|
|
|
|
source_c = [
|
|
'audio.c',
|
|
'core.c',
|
|
'models.c',
|
|
'rlgl.c',
|
|
'shapes.c',
|
|
'text.c',
|
|
'textures.c',
|
|
'utils.c',
|
|
'external/stb_vorbis.c',
|
|
]
|
|
|
|
# use 'meson --default-library=static builddir' to build as static, if no builddir yet exists
|
|
# use 'mesonconf -Ddefault_library=static builddir' to change the type
|
|
raylib = library('raylib',
|
|
source_c,
|
|
dependencies : [ glfw_dep, gl_dep, openal_dep, m_dep, x11_dep],
|
|
install : true,
|
|
version : '1.7.0')
|
|
|