summaryrefslogtreecommitdiffstats
path: root/test/lib_descriptor.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib_descriptor.lv2')
-rw-r--r--test/lib_descriptor.lv2/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/lib_descriptor.lv2/meson.build b/test/lib_descriptor.lv2/meson.build
new file mode 100644
index 0000000..9006dfc
--- /dev/null
+++ b/test/lib_descriptor.lv2/meson.build
@@ -0,0 +1,24 @@
+module = shared_module('lib_descriptor',
+ 'lib_descriptor.c',
+ dependencies: lv2_dep,
+ gnu_symbol_visibility: 'hidden',
+ name_prefix: '')
+
+extension = '.' + module.full_path().split('.')[-1]
+config = configuration_data({'SHLIB_EXT': extension})
+ttl_files = ['manifest.ttl', 'lib_descriptor.ttl']
+
+foreach f : ttl_files
+ configure_file(input: f + '.in',
+ output: f,
+ configuration: config)
+endforeach
+
+test('lib_descriptor',
+ executable('test_lib_descriptor',
+ 'test_lib_descriptor.c',
+ c_args: prog_args,
+ dependencies: [lv2_dep, lilv_static_dep]),
+ args: [meson.current_build_dir() / ''],
+ suite: 'plugin')
+