gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Merged in bugfix/pvs-studio-g-set-error-fix (pull request #34)
develop
2019-09-30, Gary Kramlich
290ee8d6c33f
Merged in bugfix/pvs-studio-g-set-error-fix (pull request #34)
use g_error_set_literal when we're not passing a format string
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
.
current_build_dir
(),
'..'
,
'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
.
current_build_dir
(),
'..'
,
'gplugin'
),
)
endif
subdir
(
'tests'
)
endif
# vala