subproject('win-nasm')
endif
+pathsep = host_machine.system() == 'windows' ? ';' : ':'
+
subproject('orc', required: get_option('orc'))
subprojects_names = []
-all_plugins = []
+all_plugins = ''
foreach sp : subprojects
project_name = sp[0]
build_infos = sp[1]
if subproj.found() and build_infos.has_key('build-hotdoc', default: false)
foreach plugin: subproj.get_variable('plugins')
- all_plugins += plugin.full_path()
+ all_plugins += pathsep + plugin.full_path()
endforeach
if documented_projects != ''
documented_projects += ','
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--builddir", help="The meson build directory")
- parser.add_argument(dest="plugins", help="The list of plugins", nargs="+")
+ parser.add_argument(dest="plugins", help="The list of plugins")
options = parser.parse_args()
all_paths = set()
- for plugin in options.plugins:
+ for plugin in options.plugins.split(os.pathsep):
all_paths.add(os.path.dirname(plugin))
with open(os.path.join(options.builddir, 'GstPluginsPath.json'), "w") as f: