api documentation for ec_parse
[protos/libecoli.git] / meson.build
index dee9cb6..4223dc6 100644 (file)
@@ -4,20 +4,21 @@
 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')
 
+add_global_arguments('-Wmissing-prototypes', 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,