diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-07-07 16:30:18 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-07-28 13:19:02 +0300 |
commit | 3b9acfa96683af1f1814db53cb81670bca68fc5f (patch) | |
tree | 234d9f270e65baf096ad6273afab70d2d0806c5e /meson.build | |
parent | 90ac6734fc164efb3f25e7cd1fdcf91502edbd2d (diff) |
icipc: make everything build again after splitting it out of wireplumber
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..c342c42 --- /dev/null +++ b/meson.build @@ -0,0 +1,40 @@ +project('icipc', ['c'], + version : '0.1', + license : 'MIT', + meson_version : '>= 0.52.0', + default_options : [ + 'warning_level=1', + 'buildtype=debugoptimized', + ] +) + +threads_dep = dependency('threads', required: true) +spa_dep = dependency('libspa-0.2', version: '>= 0.2', required: true) +glib_dep = dependency('glib-2.0', required: true) + +pkgconfig = import('pkgconfig') +cc = meson.get_compiler('c') + +common_flags = [ + '-fvisibility=hidden', + '-Wsuggest-attribute=format', + '-Wsign-compare', + '-Wpointer-arith', + '-Wpointer-sign', + '-Wformat', + '-Wformat-security', + '-Wimplicit-fallthrough', + '-Wmissing-braces', + '-Wtype-limits', + '-Wvariadic-macros', + '-Wno-missing-field-initializers', + '-Wno-unused-parameter', + '-Wno-pedantic', + '-Wold-style-declaration', + '-Wunused-result', +] +add_project_arguments(cc.get_supported_arguments(common_flags), language: 'c') + +subdir('lib') +subdir('src') +subdir('tests') |