diff options
author | David Robillard <d@drobilla.net> | 2021-01-11 02:35:06 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-24 10:58:32 -0400 |
commit | 52cd7ee00e64a021128034da5855a88be52f0871 (patch) | |
tree | 676708459122aeeaf65c9d4c05a39798e7c4be6f /test/lib_descriptor.lv2/meson.build | |
parent | 71a2ff5170caaa052814cce19b3de927d10d0e24 (diff) | |
download | lilv-52cd7ee00e64a021128034da5855a88be52f0871.tar.gz lilv-52cd7ee00e64a021128034da5855a88be52f0871.tar.bz2 lilv-52cd7ee00e64a021128034da5855a88be52f0871.zip |
WIP: Switch to Meson
Diffstat (limited to 'test/lib_descriptor.lv2/meson.build')
-rw-r--r-- | test/lib_descriptor.lv2/meson.build | 24 |
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') + |