1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-12 04:40:46 +01:00
segatools-hay1tsme/meson.build
Tau 2be3647089 Enable Windows Vista+ Win32 APIs
I'd like to have condition variables.
2019-03-04 16:47:32 -05:00

39 lines
780 B
Meson

project('segatools', 'c', version: '0.1.0')
add_project_arguments(
'-DCOBJMACROS',
'-DWIN32_LEAN_AND_MEAN',
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7',
language: 'c',
)
# 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
inc = include_directories('.')
capnhook = subproject('capnhook')
subdir('board')
subdir('jvs')
subdir('nu')
subdir('util')
subdir('aimeio')
subdir('cardhook')
subdir('chunihook')
subdir('minihook')