Works, builds both native linux and cross-compiles mingw-w64 variants. Need to work out copying appropriate dlls into the mkxp runtime folder. Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
27 lines
645 B
Meson
27 lines
645 B
Meson
binding_src = [
|
|
'audio-binding.cpp',
|
|
'binding-mri.cpp',
|
|
'binding-util.cpp',
|
|
'bitmap-binding.cpp',
|
|
'etc-binding.cpp',
|
|
'filesystem-binding.cpp',
|
|
'font-binding.cpp',
|
|
'graphics-binding.cpp',
|
|
'input-binding.cpp',
|
|
'module_rpg.cpp',
|
|
'plane-binding.cpp',
|
|
'sprite-binding.cpp',
|
|
'table-binding.cpp',
|
|
'tilemap-binding.cpp',
|
|
'tilemapvx-binding.cpp',
|
|
'viewport-binding.cpp',
|
|
'window-binding.cpp',
|
|
'windowvx-binding.cpp'
|
|
]
|
|
ruby = dependency('-'.join(['ruby', get_option('MRIVERSION')]))
|
|
binding = build_target('binding',
|
|
binding_src,
|
|
dependencies : [ ruby, sdl2, sigcxx ],
|
|
include_directories : incdirs,
|
|
target_type : 'static_library')
|
|
|