mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
meson: Simplify the use of built tools
The Meson build has fallen a bit behind the Autotools one, when it comes to the internally built tools like glib-mkenums and glib-genmarshals. We don't need to generate gmarshal.strings any more, and since the glib-genmarshal tool is now written in Python it can also be used when cross-compiling, and without indirection, just like we use glib-mkenums. We can also coalesce various rules into a simple array iteration, with minimal changes to glib-mkenums, thus making the build a bit more resilient and without unnecessary duplication.
This commit is contained in:
@@ -31,7 +31,7 @@ foreach t : gobject_tests
|
||||
test_timeout = t.get(3, 30)
|
||||
|
||||
# FIXME? $(GLIB_DEBUG_FLAGS)
|
||||
exe = executable(test_name, test_src,
|
||||
exe = executable(test_name + '-gobject', test_src,
|
||||
c_args : test_cargs + test_extra_cargs + ['-DGLIB_DISABLE_DEPRECATION_WARNINGS'],
|
||||
dependencies : [libm, thread_dep, libglib_dep, libgobject_dep],
|
||||
install : false,
|
||||
|
Reference in New Issue
Block a user