The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
393 B
15 lines
393 B
2 years ago
|
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)
|
||
|
|
||
2 years ago
|
gen = generator(exe, output : '@BASENAME@.c', arguments : ['@INPUT@', '@OUTPUT@'])
|
||
2 years ago
|
foo = gen.process('lib.in')
|
||
|
|
||
|
library('foo', foo)
|