1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-14 08:07:37 +01:00
segatools-dniel97/meson.build

68 lines
1.3 KiB
Meson
Raw Normal View History

project(
'segatools',
'c',
version: '0.1.0',
default_options: [
'werror=true',
],
)
2018-10-08 04:01:00 +02:00
add_project_arguments(
'-DCOBJMACROS',
'-DDIRECTINPUT_VERSION=0x0800',
2018-11-24 00:24:41 +01:00
'-DWIN32_LEAN_AND_MEAN',
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7',
'-DMINGW_HAS_SECURE_API=1',
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(
'-ffunction-sections',
'-fdata-sections',
language: 'c',
)
add_project_link_arguments(
'-Wl,--enable-stdcall-fixup',
2018-11-24 00:24:41 +01:00
'-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')
shlwapi_lib = cc.find_library('shlwapi')
dinput8_lib = cc.find_library('dinput8')
dxguid_lib = cc.find_library('dxguid')
2019-03-04 02:02:35 +01:00
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
subdir('amex')
2019-10-19 21:48:29 +02:00
subdir('iccard')
2018-11-08 20:43:07 +01:00
subdir('board')
subdir('hooklib')
2018-11-08 20:17:06 +01:00
subdir('jvs')
subdir('platform')
2018-11-07 22:37:23 +01:00
subdir('util')
2018-11-08 22:02:03 +01:00
subdir('gfxhook')
subdir('aimeio')
2019-05-03 04:12:06 +02:00
subdir('chuniio')
2019-05-03 20:47:09 +02:00
subdir('divaio')
2019-05-04 02:36:23 +02:00
subdir('idzio')
2019-08-31 00:49:55 +02:00
subdir('mu3io')
2021-12-21 06:02:17 +01:00
subdir('mercuryio')
2019-05-03 04:12:06 +02:00
2018-11-08 22:04:50 +01:00
subdir('chunihook')
subdir('divahook')
subdir('idzhook')
2018-11-08 22:02:03 +01:00
subdir('minihook')
2019-08-31 01:06:32 +02:00
subdir('mu3hook')
2021-12-21 06:02:17 +01:00
subdir('mercuryhook')