mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-05 13:28:04 +03:00
Use libffi to portably call arbitrary functions at runtime, rather than forcing library functions to use a standard prototype.
18 lines
514 B
Meson
18 lines
514 B
Meson
project('system4', 'c',
|
|
default_options : ['c_std=c11'])
|
|
add_project_arguments('-D_DEFAULT_SOURCE', language : 'c')
|
|
|
|
zlib = dependency('zlib')
|
|
libm = meson.get_compiler('c').find_library('m', required: false)
|
|
sdl2 = dependency('sdl2')
|
|
sdl2ttf = dependency('SDL2_ttf')
|
|
sdl2mixer = dependency('SDL2_mixer')
|
|
ffi = dependency('libffi')
|
|
gl = dependency('GL')
|
|
glew = dependency('glew')
|
|
chibi = dependency('chibi-scheme', required : get_option('debugger'))
|
|
|
|
incdir = include_directories('include')
|
|
|
|
subdir('src')
|