blob: 5111af148d8c58c649c64ffb7f03f50dec27252b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
project('cargs', 'c',
license: 'MIT',
meson_version: '>= 0.45.1'
)
cargs_inc = include_directories('include')
cargs = library('cargs', 'src/cargs.c',
install: true,
include_directories: cargs_inc
)
install_headers('include/cargs.h')
cargs_dep = declare_dependency(include_directories: 'include', link_with: cargs)
if meson.version().version_compare('>= 0.54.0')
meson.override_dependency('cargs', cargs_dep)
endif
|