plugin_p = subproject('libplugin', default_options: [ 'pkg-config=' + pkg_config_bool_str, 'tests=' + get_option('tests').to_string(), 'python-wheel=' + get_option('build-python').to_string(), ]) libplugin = plugin_p.get_variable('libplugin') plugin_dep = plugin_p.get_variable('plugin_dep') alias_target('build-libplugin', libplugin)