license: 'MIT',
version: '0.1.2',
default_options: [
- 'warning_level=1',
+ 'warning_level=3',
'c_std=gnu99',
'buildtype=debug'
]
)
+cc = meson.get_compiler('c')
+
+global_args = []
+global_args_maybe = [
+ '-Wno-unused-parameter',
+ '-Wno-pedantic',
+]
+foreach a : global_args_maybe
+ if cc.has_argument(a)
+ global_args += a
+ endif
+endforeach
+add_global_arguments(global_args, language: 'c')
+
libds_version = meson.project_version()
version_arr = libds_version.split('.')
libds_version_major = version_arr[0]
subdir('clients')
subdir('include')
-configure_file(output: 'config.h', install: false, configuration: cdata)
\ No newline at end of file
+configure_file(output: 'config.h', install: false, configuration: cdata)