diff options
author | David Robillard <d@drobilla.net> | 2022-08-09 09:45:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-09 09:45:27 -0400 |
commit | b8a3a735fec4def1bdc98e775568fdd250d5a0a2 (patch) | |
tree | aa210fda16af0b9279f71feee50eb68d26a66dff /tools | |
parent | a15b01e4f211d3fae909c7c7b9bd02045a801ef1 (diff) | |
download | lilv-b8a3a735fec4def1bdc98e775568fdd250d5a0a2.tar.gz lilv-b8a3a735fec4def1bdc98e775568fdd250d5a0a2.tar.bz2 lilv-b8a3a735fec4def1bdc98e775568fdd250d5a0a2.zip |
Allow programs to be used from subproject
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/meson.build b/tools/meson.build index 59249f2..5e4333d 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -13,7 +13,7 @@ basic_tools = [ ] foreach tool : basic_tools - executable( + exe = executable( tool, files(tool + '.c'), c_args: c_suppressions, @@ -22,6 +22,8 @@ foreach tool : basic_tools install: true, ) + meson.override_find_program(tool, exe) + install_man(files('..' / 'doc' / tool + '.1')) endforeach @@ -42,7 +44,7 @@ sndfile_dep = dependency( ) if sndfile_dep.found() - executable( + lv2apply = executable( 'lv2apply', files('lv2apply.c'), c_args: c_suppressions, @@ -51,6 +53,8 @@ if sndfile_dep.found() install: true, ) + meson.override_find_program('lv2apply', lv2apply) + install_man(files('..' / 'doc' / 'lv2apply.1')) endif @@ -69,7 +73,7 @@ int main(void) { struct timespec t; return clock_gettime(CLOCK_MONOTONIC, &t); } args: platform_defines, dependencies: [rt_dep], name: 'clock_gettime') - executable( + lv2bench = executable( 'lv2bench', files('lv2bench.c'), c_args: c_suppressions, @@ -78,6 +82,8 @@ int main(void) { struct timespec t; return clock_gettime(CLOCK_MONOTONIC, &t); } install: true, ) + meson.override_find_program('lv2bench', lv2bench) + install_man(files('..' / 'doc' / 'lv2bench.1')) endif endif |