mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-30 12:31:16 +00:00
26 lines
532 B
Meson
26 lines
532 B
Meson
|
src_inc_dir = include_directories('.')
|
||
|
|
||
|
src_dep = declare_dependency(
|
||
|
compile_args: [
|
||
|
'-DIN_LIBVIRT',
|
||
|
'-Dabs_top_builddir="@0@"'.format(meson.build_root()),
|
||
|
'-Dabs_top_srcdir="@0@"'.format(meson.source_root()),
|
||
|
] + coverage_flags + win32_flags,
|
||
|
dependencies: [
|
||
|
glib_dep,
|
||
|
libxml_dep,
|
||
|
],
|
||
|
include_directories: [
|
||
|
libvirt_inc,
|
||
|
src_inc_dir,
|
||
|
top_inc_dir,
|
||
|
],
|
||
|
link_args: (
|
||
|
libvirt_relro
|
||
|
+ libvirt_no_indirect
|
||
|
+ coverage_flags
|
||
|
+ driver_modules_flags
|
||
|
+ win32_link_flags
|
||
|
),
|
||
|
)
|