2018-11-24 00:16:24 +01:00
|
|
|
project('segatools', 'c', version: '0.1.0')
|
2018-10-08 04:01:00 +02:00
|
|
|
|
|
|
|
add_project_arguments(
|
|
|
|
'-DCOBJMACROS',
|
2018-11-24 00:24:41 +01:00
|
|
|
'-DWIN32_LEAN_AND_MEAN',
|
2019-03-03 23:56:24 +01:00
|
|
|
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7',
|
2018-10-08 04:01:00 +02:00
|
|
|
language: 'c',
|
|
|
|
)
|
|
|
|
|
2018-11-24 00:24:41 +01:00
|
|
|
# Use get_argument_syntax() instead once Meson 0.49.0 releases
|
|
|
|
if meson.get_compiler('c').get_id() != 'msvc'
|
|
|
|
add_project_arguments(
|
|
|
|
'-Wall',
|
|
|
|
'-ffunction-sections',
|
|
|
|
'-fdata-sections',
|
|
|
|
language: 'c',
|
|
|
|
)
|
|
|
|
|
|
|
|
add_project_link_arguments(
|
|
|
|
'-Wl,--exclude-all-symbols',
|
|
|
|
'-Wl,--gc-sections',
|
|
|
|
'-static-libgcc',
|
|
|
|
language: 'c',
|
|
|
|
)
|
|
|
|
endif
|
2018-10-08 04:01:00 +02:00
|
|
|
|
2019-03-04 02:02:35 +01:00
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
xinput_lib = cc.find_library('xinput')
|
|
|
|
|
2018-10-08 04:01:00 +02:00
|
|
|
inc = include_directories('.')
|
|
|
|
capnhook = subproject('capnhook')
|
2018-11-07 22:37:23 +01:00
|
|
|
|
2019-03-04 23:22:38 +01:00
|
|
|
subdir('amex')
|
2018-11-08 20:43:07 +01:00
|
|
|
subdir('board')
|
2018-11-08 20:17:06 +01:00
|
|
|
subdir('jvs')
|
2019-03-04 23:22:38 +01:00
|
|
|
subdir('platform')
|
2018-11-07 22:37:23 +01:00
|
|
|
subdir('util')
|
2018-11-08 22:02:03 +01:00
|
|
|
|
2019-02-26 03:56:45 +01:00
|
|
|
subdir('aimeio')
|
2019-05-03 04:12:06 +02:00
|
|
|
subdir('chuniio')
|
2019-05-03 20:47:09 +02:00
|
|
|
subdir('divaio')
|
2019-05-03 04:12:06 +02:00
|
|
|
|
2018-11-21 02:29:40 +01:00
|
|
|
subdir('cardhook')
|
2018-11-08 22:04:50 +01:00
|
|
|
subdir('chunihook')
|
2019-03-16 16:57:17 +01:00
|
|
|
subdir('divahook')
|
2019-03-05 20:34:43 +01:00
|
|
|
subdir('idzhook')
|
2018-11-08 22:02:03 +01:00
|
|
|
subdir('minihook')
|
2019-03-05 19:29:56 +01:00
|
|
|
subdir('zinput')
|