add first documentation draft and framework
[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 inc = include_directories('include')
17 priv_inc = include_directories('src')
18
19 subdir('src')
20 subdir('test')
21 subdir('examples')
22 subdir('doc')
23
24 pkg_mod = import('pkgconfig')
25 pkg_mod.generate(libraries : libecoli,
26         version: '0.1',
27         name : 'libecoli',
28         filebase : 'libecoli',
29         description : 'Extensible command line library.')