mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-28 01:56:52 +02: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'),
|
install_dir : get_option('bindir'),
|
||||||
configuration : gdbus_codegen_conf
|
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')
|
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 variables for later use
|
||||||
set_variable(tool.underscorify(), tool_bin)
|
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
|
endforeach
|
||||||
|
|
||||||
executable('gobject-query', 'gobject-query.c',
|
executable('gobject-query', 'gobject-query.c',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user