Files
TeamTofuShop_capnhook/meson.build
T
Decaf Code c5f08113a5 Tag v0.2.2
I forgot to update the Meson version for the past few releases.
whoops.
2018-11-23 14:05:53 -05:00

30 lines
584 B
Meson

project('capnhook', 'c', version: '0.2.2')
add_project_arguments(
'-DCOBJMACROS',
'-DWIN32_LEAN_AND_MEAN',
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,--gc-sections',
'-static-libgcc',
language: 'c',
)
endif
inc = include_directories('.')
subdir('hook')
subdir('hooklib')
subdir('inject')