mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
Merge branch 'nirbheek/override-find-program' into 'master'
meson: Provide our Python tools for builds See merge request GNOME/glib!188
This commit is contained in:
commit
c46afdbc13
@ -20,6 +20,8 @@ gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
|
||||
install_dir : get_option('bindir'),
|
||||
configuration : gdbus_codegen_conf
|
||||
)
|
||||
# Provide tools for others when we're a subproject and they use the Meson GNOME module
|
||||
meson.override_find_program('gdbus-codegen', gdbus_codegen)
|
||||
|
||||
codegen_dir = join_paths(get_option('datadir'), 'glib-2.0/codegen')
|
||||
|
||||
|
@ -105,6 +105,8 @@ foreach tool: python_tools
|
||||
|
||||
# Set variables for later use
|
||||
set_variable(tool.underscorify(), tool_bin)
|
||||
# Provide tools for others when we're a subproject and they use the Meson GNOME module
|
||||
meson.override_find_program(tool, tool_bin)
|
||||
endforeach
|
||||
|
||||
executable('gobject-query', 'gobject-query.c',
|
||||
|
Loading…
Reference in New Issue
Block a user