mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
2dfc2ab48a
Signed-off-by: Luke Yue <lukedyue@gmail.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
28 lines
429 B
Meson
28 lines
429 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,
|
|
hypervisor_inc_dir,
|
|
],
|
|
)
|
|
|
|
libvirt_libs += test_lib
|
|
|
|
install_data(test_driver_assets, install_dir: pkgdatadir)
|
|
endif
|