gplugin/gplugin

closing this branch as there is no demand for this
feature/gjs-cc
17 months ago, Gary Kramlich
19f9798d59f3
closing this branch as there is no demand for this
if get_option('python')
e = executable('test-python-loader', 'test-python-loader.c',
include_directories : include_directories('.'),
c_args : [
'-DPYTHON_LOADER_DIR="@0@/python"'.format(meson.build_root()),
'-DPYTHON_PLUGIN_DIR="@0@/plugins"'.format(meson.current_source_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, PYTHON3, PYGOBJECT, gplugin_dep])
test('Python loader', e)
# we can't see the symbols in gplugin-python externally, so use the static
# version for testing
e = executable('test-python-utils', 'test-python-utils.c',
include_directories : include_directories('.'),
c_args : [
'-DPYTHON_LOADER_DIR="@0@/python"'.format(meson.build_root()),
'-DPYTHON_PLUGIN_DIR="@0@/plugins"'.format(meson.current_source_dir()),
],
link_with : [gplugin_loader_tests],
dependencies : [GLIB, GOBJECT, PYTHON3, PYGOBJECT,
gplugin_python_static_dep])
test('Python utils', e)
endif # python