summaryrefslogtreecommitdiffstats
path: root/test cases/failing/129 generator host binary/meson.build
blob: fc1f9beb24c3f944d080529d9bbc87b7ed24b201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project('generator host binary no exe_wrapper')

if meson.can_run_host_binaries()
  error('MESON_SKIP_TEST: test requires that build machine cannot run host binaries')
endif

add_languages('c', native : false)

exe = executable('exe', 'exe.c', native : false)

gen = generator(exe, output : '@BASENAME@.c', arguments : ['@INPUT@', '@OUTPU@'])
foo = gen.process('lib.in')

library('foo', foo)