vendored-meson/meson/test cases/failing/126 generator host binary/meson.build
raw| 1 | project('generator host binary no exe_wrapper') |
| 2 | |
| 3 | if meson.can_run_host_binaries() |
| 4 | error('MESON_SKIP_TEST: test requires that build machine cannot run host binaries') |
| 5 | endif |
| 6 | |
| 7 | add_languages('c', native : false) |
| 8 | |
| 9 | exe = executable('exe', 'exe.c', native : false) |
| 10 | |
| 11 | gen = generator(exe, output : '@[email protected]', arguments : ['@INPUT@', '@OUTPUT@']) |
| 12 | foo = gen.process('lib.in') |
| 13 | |
| 14 | library('foo', foo) |