blob: 91f07fce5066f300a2ef369408730938d2a9f95e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
project('librin', 'c',
license : 'LGPL2.1',
version : '0.0.4',
default_options : ['c_std=c11', 'buildtype=release'])
inc = include_directories('include')
pkg = import('pkgconfig')
add_project_arguments('-D_GNU_SOURCE', language : 'c')
subdir('include')
subdir('src')
librin = library('rin', sources, version : meson.project_version(), include_directories : inc, pic : get_option('enable-pic'), install : true)
pkg.generate(librin)
if get_option('enable-tests')
subdir('test')
endif
|