vendored-meson/meson/test cases/rust/12 bindgen/gen/meson.build
raw| 1 | gen_h = custom_target( |
| 2 | 'gen.h', |
| 3 | command : [find_program('gen_header.py'), '@INPUT@', '@OUTPUT@'], |
| 4 | output : 'gen.h', |
| 5 | input : meson.project_source_root() / 'src/header.h' |
| 6 | ) |
| 7 | |
| 8 | gen2_h = custom_target( |
| 9 | 'other.h', |
| 10 | command : [find_program('gen_header.py'), '@INPUT@', '@OUTPUT@'], |
| 11 | output : 'other.h', |
| 12 | input : meson.project_source_root() / 'include/other.h' |
| 13 | ) |