mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58:44 +02:00
meson: Improve gdbus-codegen custom target dependencies
Ensure that the custom targets that use gdbus-codegen get rebuilt when any of the gdbus-codegen files are changed. https://bugzilla.gnome.org/show_bug.cgi?id=752239
This commit is contained in:
@@ -174,6 +174,7 @@ xdp_dbus_generated = custom_target('xdp-dbus',
|
||||
'org.freedesktop.portal.NetworkMonitor.xml',
|
||||
'org.freedesktop.portal.ProxyResolver.xml'],
|
||||
output : ['xdp-dbus.h', 'xdp-dbus.c'],
|
||||
depend_files : gdbus_codegen_built_files,
|
||||
command : [python, gdbus_codegen,
|
||||
'--interface-prefix', 'org.freedesktop.portal.',
|
||||
'--output-directory', '@OUTDIR@',
|
||||
@@ -193,6 +194,7 @@ xdp_dbus_generated = custom_target('xdp-dbus',
|
||||
gdbus_daemon_generated = custom_target('gdbus-daemon-generated',
|
||||
input : ['dbus-daemon.xml'],
|
||||
output : ['gdbus-daemon-generated.h', 'gdbus-daemon-generated.c'],
|
||||
depend_files : gdbus_codegen_built_files,
|
||||
command : [python, gdbus_codegen,
|
||||
'--interface-prefix', 'org.',
|
||||
'--output-directory', '@OUTDIR@',
|
||||
|
Reference in New Issue
Block a user