libvirt/tests/schemas/meson.build

19 lines
463 B
Meson
Raw Permalink Normal View History

# we need to replace proper paths to our schemas in the test schemas
virschematest_test_schemas_conf = configuration_data({
'SCHEMADIR': meson.project_source_root() / 'src' / 'conf' / 'schemas',
})
virschematest_schemas = [
'cpu-baseline.rng.in',
'device.rng.in',
'privatedata.rng.in',
]
foreach file : virschematest_schemas
configure_file(
input: file,
output: '@BASENAME@',
configuration: virschematest_test_schemas_conf,
)
endforeach