fix(libplugin): added ability to turn off tests

This commit is contained in:
2025-08-06 12:02:09 -04:00
parent ce61fc4ef5
commit f5dd28d675
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
plugin_p = subproject('libplugin', default_options: ['pkg-config=' + pkg_config_bool_str]) plugin_p = subproject('libplugin', default_options: ['pkg-config=' + pkg_config_bool_str, 'tests=' + get_option('tests')])
libplugin = plugin_p.get_variable('libplugin') libplugin = plugin_p.get_variable('libplugin')
plugin_dep = plugin_p.get_variable('plugin_dep') plugin_dep = plugin_p.get_variable('plugin_dep')

View File

@@ -1 +1,2 @@
option('pkg-config', type: 'boolean', value: false, description: 'generate pkg-config file for all libraries and fourdst (defaults to false to allow easy pip building)') option('pkg-config', type: 'boolean', value: false, description: 'generate pkg-config file for all libraries and fourdst (defaults to false to allow easy pip building)')
option('tests', type: 'boolean', value: false, description: 'compile subproject tests')