mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
23 lines
381 B
Meson
23 lines
381 B
Meson
|
example_misc_files = [
|
||
|
'event-test',
|
||
|
'hellolibvirt',
|
||
|
'openauth',
|
||
|
]
|
||
|
|
||
|
foreach name : example_misc_files
|
||
|
source_file = '@0@.c'.format(name)
|
||
|
executable(
|
||
|
name,
|
||
|
[
|
||
|
source_file,
|
||
|
],
|
||
|
include_directories: [
|
||
|
libvirt_inc,
|
||
|
],
|
||
|
link_with: [
|
||
|
libvirt_lib,
|
||
|
],
|
||
|
)
|
||
|
install_data(source_file, install_dir: example_dir / 'c' / 'misc')
|
||
|
endforeach
|