mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-29 08:56:15 +01:00
25 lines
531 B
Meson
25 lines
531 B
Meson
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||
|
# SPDX-FileCopyrightText: 2024 GNOME Foundation
|
||
|
|
||
|
custom_c_args = [
|
||
|
'-DG_LOG_DOMAIN="GLib-GirInspector"',
|
||
|
]
|
||
|
|
||
|
if cc.get_id() != 'msvc'
|
||
|
custom_c_args = cc.get_supported_arguments([
|
||
|
'-Wno-old-style-definition',
|
||
|
'-Wno-cast-align',
|
||
|
'-Wno-unused-parameter',
|
||
|
'-Wno-duplicated-branches',
|
||
|
])
|
||
|
endif
|
||
|
|
||
|
giinspecttypelib = executable('gi-inspect-typelib', 'inspector.c',
|
||
|
dependencies: [
|
||
|
libgirepository_dep,
|
||
|
libgio_dep,
|
||
|
],
|
||
|
install: true,
|
||
|
c_args: custom_c_args,
|
||
|
)
|