build: allow installing tools for testing

This commit is contained in:
Christian Hergert 2023-02-17 16:27:21 -08:00
parent c0cf407713
commit a38ab5834e
2 changed files with 2 additions and 0 deletions

1
meson_options.txt Normal file
View File

@ -0,0 +1 @@
option('install-tools', type: 'boolean', value: false)

View File

@ -6,5 +6,6 @@ tools = {
foreach tool, params: tools foreach tool, params: tools
tool_exe = executable(tool, '@0@.c'.format(tool), tool_exe = executable(tool, '@0@.c'.format(tool),
dependencies: libmks_dep, dependencies: libmks_dep,
install: get_option('install-tools'),
) )
endforeach endforeach