libvirt/scripts/rpcgen/meson.build
Daniel P. Berrangé a62486b95f build: switch over to new rpc generator code
This replaces use of 'rpcgen' with our new python impl of
the RPC code generator. Since the new impl generates code
that matches our style/coding rules, and does not contain
long standing bugs, we no longer need to post-process the
output.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-11-03 14:06:35 -04:00

17 lines
315 B
Meson

subdir('rpcgen')
if pytest_prog.found()
subdir('tests')
test(
'rpcgen-pytest',
python3_prog,
args: [ '-mpytest' ] + rpcgen_tests,
env: runutf8,
workdir: meson.current_source_dir(),
)
endif
rpcgen_prog = find_program('main.py')
rpcgen_src += files(['main.py'])