You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
project('gobject-introspection-with-subproject', 'c')
|
|
|
|
|
|
|
|
gir = find_program('g-ir-scanner', required: false)
|
|
|
|
if not gir.found()
|
|
|
|
error('MESON_SKIP_TEST g-ir-scanner not found.')
|
|
|
|
endif
|
|
|
|
|
|
|
|
python3 = import('python3')
|
|
|
|
py3 = python3.find_python()
|
|
|
|
if run_command(py3, '-c', 'import gi;', check: false).returncode() != 0
|
|
|
|
error('MESON_SKIP_TEST python3-gi not found')
|
|
|
|
endif
|
|
|
|
|
|
|
|
gnome = import('gnome')
|
|
|
|
gobj = dependency('gobject-2.0')
|
|
|
|
|
|
|
|
add_global_arguments('-DMESON_TEST', language : 'c')
|
|
|
|
meson_gir = dependency('meson-gir', fallback : ['mesongir', 'meson_gir'])
|
|
|
|
|
|
|
|
subdir('gir')
|