grim/gplugin
Clone
Summary
Browse
Changes
Graph
Add support for the ability to disable the native plugin loader. This is primarily a debug tool right now. Fixes GPLUGIN-103
draft
disable-native-loader
2020-09-06, Gary Kramlich
c092dd021b67
Add support for the ability to disable the native plugin loader. This is primarily a debug tool right now. Fixes GPLUGIN-103
if
get_option
(
'vapi'
)
e
=
executable
(
'test-vala-loading'
,
'test-vala-loading.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DVALA_PLUGIN_DIR="@0@/plugins"'
.
format
(
meson
.
current_build_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
gplugin_dep
])
test
(
'Vala loading'
,
e
)
e
=
executable
(
'test-genie-loading'
,
'test-genie-loading.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DGENIE_PLUGIN_DIR="@0@/genie-plugins"'
.
format
(
meson
.
current_build_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
gplugin_dep
])
test
(
'Genie loading'
,
e
)
subdir
(
'genie-plugins'
)
subdir
(
'plugins'
)
endif
# vapi