mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-01 03:18:09 +03:00
44 lines
1.3 KiB
Meson
44 lines
1.3 KiB
Meson
project('system4', 'c', default_options : ['c_std=c11'])
|
|
add_project_arguments('-D_DEFAULT_SOURCE', language : 'c')
|
|
system4 = ['ain.c',
|
|
'instructions.c',
|
|
'string.c',
|
|
'system.c',
|
|
'utfsjis.c',
|
|
]
|
|
xsystem4 = ['ald.c',
|
|
'cg.c',
|
|
'qnt.c',
|
|
'ini.c',
|
|
'input.c',
|
|
'page.c',
|
|
'sact_graphics.c',
|
|
'sdl_draw.c',
|
|
'sdl_text.c',
|
|
'sdl_video.c',
|
|
'system4.c',
|
|
'vm.c',
|
|
]
|
|
hll_libs = ['hll/ACXLoader.c',
|
|
'hll/AliceLogo.c',
|
|
'hll/AliceLogo2.c',
|
|
'hll/AliceLogo3.c',
|
|
'hll/Confirm2.c',
|
|
'hll/DrawGraph.c',
|
|
'hll/DrawPluginManager.c',
|
|
'hll/Math.c',
|
|
'hll/MsgLogManager.c',
|
|
'hll/MsgSkip.c',
|
|
'hll/OutputLog.c',
|
|
'hll/PlayMovie.c',
|
|
'hll/SACT2.c',
|
|
'hll/SystemServiceEx.c',
|
|
]
|
|
zdep = dependency('zlib')
|
|
mdep = meson.get_compiler('c').find_library('m', required: false)
|
|
sdl2 = dependency('sdl2')
|
|
sdl2ttf = dependency('SDL2_ttf')
|
|
|
|
executable('system4', xsystem4 + system4 + hll_libs, dependencies: [mdep, zdep, sdl2, sdl2ttf])
|
|
executable('aindump', ['aindump.c'] + system4, dependencies: [mdep, zdep])
|