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.
 
 
 
 
 
 

20 lines
464 B

# Must have two languages here to exercise linker language
# selection bug
project('all sources generated', 'c', 'cpp')
comp = find_program('converter.py')
g = generator(comp,
output : '@BASENAME@',
arguments : ['@INPUT@', '@OUTPUT@'])
c = g.process('foobar.cpp.in')
prog = executable('genexe', c)
c2 = custom_target('c2gen',
output : 'c2gen.cpp',
input : 'foobar.cpp.in',
command : [comp, '@INPUT@', '@OUTPUT@'])
prog2 = executable('genexe2', c2)