master
build 16 lines 696 Bytes
Raw
1 project('libvduse', 'c',
2 license: 'GPL-2.0-or-later',
3 default_options: ['warning_level=1', 'c_std=gnu99'])
4
5 cc = meson.get_compiler('c')
6 add_project_arguments(cc.get_supported_arguments('-Wsign-compare',
7 '-Wdeclaration-after-statement',
8 '-Wstrict-aliasing'),
9 native: false, language: 'c')
10
11 libvduse = static_library('vduse',
12 files('libvduse.c'),
13 c_args: '-D_GNU_SOURCE')
14
15 libvduse_dep = declare_dependency(link_with: libvduse,
16 include_directories: include_directories('.'))