# Copyright 2021-2022 David Robillard # SPDX-License-Identifier: 0BSD OR ISC module = shared_module( 'lib_descriptor', files('lib_descriptor.c'), c_args: c_suppressions, 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: files(f + '.in'), output: f, configuration: config, ) endforeach test( 'lib_descriptor', executable( 'test_lib_descriptor', files('test_lib_descriptor.c'), c_args: c_suppressions + test_args, dependencies: [lv2_dep, lilv_dep], ), args: [meson.current_build_dir() / ''], suite: 'plugin', )