mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
build: Always pass --quiet to g-ir-scanner
This makes the build less verbose, as all .gir generation except for clutters didn't pass --quiet to g-ir-scanner, making it output long linking commands. Do this by adding a common introspection_args variable. While at it, put -U_GNU_SOURCE in there too, as it was always passed everywhere as without it the scanner would log warnings.
This commit is contained in:
@ -54,10 +54,9 @@ if have_introspection
|
||||
pango_dep,
|
||||
libmutter_cogl_pango_dep,
|
||||
],
|
||||
extra_args: [
|
||||
extra_args: introspection_args + [
|
||||
'-UCOGL_COMPILATION',
|
||||
'-DG_LOG_DOMAIN=\"CoglPango\"',
|
||||
'-U_GNU_SOURCE',
|
||||
],
|
||||
install_dir_gir: pkglibdir,
|
||||
install_dir_typelib: pkglibdir,
|
||||
|
@ -488,14 +488,13 @@ if have_introspection
|
||||
namespace: 'Cogl',
|
||||
includes: ['GL-1.0', 'GObject-2.0'],
|
||||
dependencies: [cogl_deps],
|
||||
extra_args: [
|
||||
extra_args: introspection_args + [
|
||||
'-UCOGL_COMPILATION',
|
||||
'-D__COGL_H_INSIDE__',
|
||||
'-D__COGL_XLIB_H_INSIDE__',
|
||||
'-D__COGL_EGL_H_INSIDE__',
|
||||
'-D__COGL_GLX_H_INSIDE__',
|
||||
'-DCOGL_GIR_SCANNING',
|
||||
'-U_GNU_SOURCE',
|
||||
],
|
||||
install_dir_gir: pkglibdir,
|
||||
install_dir_typelib: pkglibdir,
|
||||
|
Reference in New Issue
Block a user