Set up Meson build system

This commit is contained in:
Tau
2018-10-07 22:01:00 -04:00
parent e18c195c2c
commit ab2d64b7af
5 changed files with 49 additions and 0 deletions

18
meson.build Normal file
View File

@ -0,0 +1,18 @@
project('capnhook', 'c', version: '0.1.0')
add_project_arguments(
'-Wall',
'-DCOBJMACROS',
'-ffunction-sections',
'-fdata-sections',
language: 'c',
)
add_project_link_arguments(
'-Wl,--gc-sections',
'-static-libgcc',
language: 'c',
)
inc = include_directories('.')
capnhook = subproject('capnhook')