fix meson build
[protos/libecoli.git] / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
3
4 project('libecoli',
5         'c',
6         version : '0.1',
7         license : 'BSD-3-clause',
8         default_options: ['warning_level=2'])
9
10 edit_dep = dependency('libedit', method: 'pkg-config')
11 yaml_dep = dependency('yaml-0.1', method: 'pkg-config')
12
13 # XXX if debug
14 add_global_arguments('-Werror', language : 'c')
15
16 subdir('src')
17 subdir('test')
18 subdir('examples')
19
20 pkg_mod = import('pkgconfig')
21 pkg_mod.generate(libraries : libecoli,
22         version: '0.1',
23         name : 'libecoli',
24         filebase : 'libecoli',
25         description : 'Extensible command line library.')