mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 14:04:39 +08:00
Exclude all *-hmp-cmds.c files and HMP-only source files from the build when HMP is disabled. Also conditionalise the hmp-commands.hx header generation and the test-hmp qtest. Acked-by: Dr. David Alan Gilbert <dave@treblig.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20260828-qemu-no-hmp-v5-45-9227de146347@redhat.com>
15 lines
215 B
Meson
15 lines
215 B
Meson
qmp_ss.add(files('monitor.c', 'qmp.c', 'qmp-cmds-control.c'))
|
|
|
|
system_ss.add(files(
|
|
'fds.c',
|
|
'qemu-config-qmp.c',
|
|
'qmp-cmds.c',
|
|
))
|
|
|
|
if have_hmp
|
|
system_ss.add(files(
|
|
'hmp-cmds.c',
|
|
'hmp.c',
|
|
))
|
|
endif
|