Merge pull request #297 from jubalh/meson

Initial meson support
This commit is contained in:
Ray
2017-06-08 13:19:41 +02:00
committed by GitHub
3 changed files with 37 additions and 0 deletions

21
src/meson.build Normal file
View File

@ -0,0 +1,21 @@
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)