gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Merged in glib-macros (pull request #22)
develop
2019-07-26, Gary Kramlich
f97f8915a7b9
Merged in glib-macros (pull request #22)
Glib macros... Finally...
Approved-by: Elliott Sales de Andrade
if
get_option
(
'vapi'
)
if
not
get_option
(
'gobject-introspection'
)
error
(
'Vala generation requires GObject Introspection.'
)
endif
add_languages
(
'vala'
)
gplugin_vapi
=
gnome
.
generate_vapi
(
'gplugin'
,
sources
:
gplugin_gir
[
0
],
install
:
true
,
gir_dirs
:
join_paths
(
meson
.
build_root
(),
'gplugin'
),
)
if
get_option
(
'gtk3'
)
gplugin_gtk_vapi
=
gnome
.
generate_vapi
(
'gplugin-gtk'
,
sources
:
gplugin_gtk_gir
[
0
],
packages
:
[
'gtk+-3.0'
],
install
:
true
,
gir_dirs
:
join_paths
(
meson
.
build_root
(),
'gplugin'
),
)
endif
subdir
(
'tests'
)
endif
# vala