X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=meson.build;h=ca9ddf16d309084f62a42b27740bc20e65e3b305;hb=70ebe6bd8740d8cb32cd0b0a21ca28a4fa74a2a5;hp=dee9cb6d21bf0ebbb5417cd21091447241dfb942;hpb=18d03456d96f7a086a2ccc82ce97fcf056848d90;p=protos%2Flibecoli.git diff --git a/meson.build b/meson.build index dee9cb6..ca9ddf1 100644 --- a/meson.build +++ b/meson.build @@ -4,20 +4,22 @@ project('libecoli', 'c', version : '0.1', - license : 'BSD-3-clause') - -# if debug -add_global_arguments('-Wall', language : 'c') -add_global_arguments('-Werror', language : 'c') -add_global_arguments('-W', language : 'c') -add_global_arguments('-Wextra', language : 'c') + license : 'BSD-3-clause', + default_options: ['warning_level=2']) edit_dep = dependency('libedit', method: 'pkg-config') yaml_dep = dependency('yaml-0.1', method: 'pkg-config') +# XXX if debug +add_global_arguments('-Werror', language : 'c') + +inc = include_directories('include') +priv_inc = include_directories('src') + subdir('src') subdir('test') subdir('examples') +subdir('doc') pkg_mod = import('pkgconfig') pkg_mod.generate(libraries : libecoli,