1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# Copyright 2022 Simon McVittie
# SPDX-License-Identifier: FSFAP
test_vfs_files = []
foreach game : test_games
test_vfs_files += custom_target(
game + '.json',
build_by_default : true,
input : meson.project_source_root() / 'tests' / 'data' / game + '.yaml',
output : game + '.json',
depend_files : files(
meson.project_source_root() / 'tools' / 'compile_yaml.py',
),
command : [
'env',
'PYTHONPATH=' + meson.project_source_root(),
python,
files(meson.project_source_root() / 'tools' / 'compile_yaml.py'),
'@INPUT@',
'@OUTPUT@',
],
)
endforeach
|