| 1 |
project('test') |
| 2 |
|
| 3 |
mod_py = import('python3') |
| 4 |
python = mod_py.find_python() |
| 5 |
|
| 6 |
test_target = custom_target( |
| 7 |
'test_target', |
| 8 |
input : [files('gen.py'), files('foo')], |
| 9 |
output : 'bar', |
| 10 |
command : [python, '@INPUT0@', '@INPUT1@', '@OUTPUT@'], |
| 11 |
build_by_default : true, |
| 12 |
) |