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/missing_port.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/missing_port.lv2/meson.build')
-rw-r--r-- | test/missing_port.lv2/meson.build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/missing_port.lv2/meson.build b/test/missing_port.lv2/meson.build new file mode 100644 index 0000000..c3f5461 --- /dev/null +++ b/test/missing_port.lv2/meson.build @@ -0,0 +1,24 @@ +module = shared_module('missing_port', + 'missing_port.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', 'missing_port.ttl'] + +foreach f : ttl_files + configure_file(input: f + '.in', + output: f, + configuration: config) +endforeach + +test('missing_port', + executable('test_missing_port', + 'test_missing_port.c', + c_args: prog_args, + dependencies: [lv2_dep, lilv_static_dep]), + args: [meson.current_build_dir() / ''], + suite: 'plugin') + |