diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-11-17 09:16:57 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-11-17 09:16:57 +0100 |
commit | 3d93df54d024f49895db6277e873dccd10b5baec (patch) | |
tree | c664797c69e4b4680d04aee7669da03e452e0c5d /src/meson.build | |
download | ufo-roof-temp-3d93df54d024f49895db6277e873dccd10b5baec.tar.gz ufo-roof-temp-3d93df54d024f49895db6277e873dccd10b5baec.tar.bz2 ufo-roof-temp-3d93df54d024f49895db6277e873dccd10b5baec.tar.xz ufo-roof-temp-3d93df54d024f49895db6277e873dccd10b5baec.zip |
The first test (file file-base simmulation)
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build new file mode 100644 index 0000000..8f3529e --- /dev/null +++ b/src/meson.build @@ -0,0 +1,45 @@ +plugins = [ + 'roof-read', + 'roof-build', +] + +roof_common_src = [ + 'ufo-roof-config.c', +] + +roof_plugin_src = { + 'roof-read': [ + 'ufo-roof-read-socket.c', + 'ufo-roof-read-file.c', + ], + 'roof-build': [ + 'ufo-roof-buffer.c', + ], +} + +# standard plugins + +foreach plugin: plugins + name = ''.join(plugin.split('-')) + + sources = roof_common_src + [ + 'ufo-@0@-task.c'.format(plugin), + ] + + if plugin in roof_plugin_src + sources += roof_plugin_src[plugin] + endif + + shared_module(name, + 'ufo-@0@-task.c'.format(plugin), + dependencies: deps, + name_prefix: 'libufofilter', + install: true, + install_dir: plugin_install_dir, + sources: sources + ) +endforeach + + + +subdir('kernels') |