qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

meson.build (885B)


      1 project('libvhost-user', 'c',
      2         license: 'GPL-2.0-or-later',
      3         default_options: ['c_std=gnu99'])
      4 
      5 threads = dependency('threads')
      6 glib = dependency('glib-2.0')
      7 
      8 vhost_user = static_library('vhost-user',
      9                             files('libvhost-user.c'),
     10                             dependencies: threads,
     11                             c_args: '-D_GNU_SOURCE')
     12 
     13 executable('link-test', files('link-test.c'),
     14            link_whole: vhost_user)
     15 
     16 vhost_user_glib = static_library('vhost-user-glib',
     17                                  files('libvhost-user-glib.c'),
     18                                  link_with: vhost_user,
     19                                  dependencies: glib)
     20 
     21 vhost_user_dep = declare_dependency(link_with: vhost_user_glib,
     22                                     dependencies: glib,
     23                                     include_directories: include_directories('.'))