File: meson.build

package info (click to toggle)
libvirt 11.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 209,020 kB
  • sloc: ansic: 535,831; xml: 321,783; python: 11,974; perl: 2,626; sh: 2,185; makefile: 448; javascript: 126; cpp: 22
file content (29 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
example_admin_files = [
  'client_close',
  'client_info',
  'client_limits',
  'list_clients',
  'list_servers',
  'logging',
  'threadpool_params',
]

if conf.has('WITH_REMOTE')
  foreach name : example_admin_files
    source_file = '@0@.c'.format(name)
    executable(
      name,
      [
        source_file,
      ],
      include_directories: [
        libvirt_inc,
      ],
      link_with: [
        libvirt_lib,
        libvirt_admin_lib,
      ],
    )
    install_data(source_file, install_dir: example_dir / 'c' / 'admin')
  endforeach
endif