meson: build contrib/ executables after generated headers

This will be needed as soon as config-poison.h moves from configure to
a meson custom_target (which is built at "ninja" time).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2021-12-20 09:28:46 +01:00
parent 3b0d864384
commit b962a1d507
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
if curl.found() if curl.found()
executable('elf2dmp', files('main.c', 'addrspace.c', 'download.c', 'pdb.c', 'qemu_elf.c'), executable('elf2dmp', files('main.c', 'addrspace.c', 'download.c', 'pdb.c', 'qemu_elf.c'), genh,
dependencies: [glib, curl], dependencies: [glib, curl],
install: true) install: true)
endif endif

View File

@ -1,4 +1,4 @@
executable('ivshmem-client', files('ivshmem-client.c', 'main.c'), executable('ivshmem-client', files('ivshmem-client.c', 'main.c'), genh,
dependencies: glib, dependencies: glib,
build_by_default: targetos == 'linux', build_by_default: targetos == 'linux',
install: false) install: false)

View File

@ -1,4 +1,4 @@
executable('ivshmem-server', files('ivshmem-server.c', 'main.c'), executable('ivshmem-server', files('ivshmem-server.c', 'main.c'), genh,
dependencies: [qemuutil, rt], dependencies: [qemuutil, rt],
build_by_default: targetos == 'linux', build_by_default: targetos == 'linux',
install: false) install: false)

View File

@ -2,7 +2,7 @@ if 'CONFIG_PVRDMA' in config_host
# if not found, CONFIG_PVRDMA should not be set # if not found, CONFIG_PVRDMA should not be set
# FIXME: broken on big endian architectures # FIXME: broken on big endian architectures
libumad = cc.find_library('ibumad', required: true) libumad = cc.find_library('ibumad', required: true)
executable('rdmacm-mux', files('main.c'), executable('rdmacm-mux', files('main.c'), genh,
dependencies: [glib, libumad], dependencies: [glib, libumad],
build_by_default: false, build_by_default: false,
install: false) install: false)