libvirt/src/test/meson.build
Pavel Hrdina b681012422 meson: src: build libvirt.so library
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-08-03 09:27:04 +02:00

27 lines
403 B
Meson

test_driver_sources = [
'test_driver.c',
]
test_driver_assets = [
'test-screenshot.png',
]
if conf.has('WITH_TEST')
test_lib = static_library(
'virt_test',
[
test_driver_sources,
],
dependencies: [
src_dep,
],
include_directories: [
conf_inc_dir,
],
)
libvirt_libs += test_lib
install_data(test_driver_assets, install_dir: pkgdatadir)
endif