2020-02-04 18:09:05 +03:00
|
|
|
t = []
|
2023-09-28 10:53:55 +03:00
|
|
|
if get_option('plugins')
|
|
|
|
foreach i : ['bb', 'empty', 'insn', 'mem', 'syscall']
|
|
|
|
t += shared_module(i, files(i + '.c'),
|
|
|
|
include_directories: '../../include/qemu',
|
|
|
|
dependencies: glib)
|
|
|
|
endforeach
|
|
|
|
endif
|
|
|
|
if t.length() > 0
|
|
|
|
alias_target('test-plugins', t)
|
|
|
|
else
|
|
|
|
run_target('test-plugins', command: find_program('true'))
|
|
|
|
endif
|