Debian Codegraph @

test cases/common/110 allgenerate/meson.build

raw
1 # Must have two languages here to exercise linker language
2 # selection bug
3 project('all sources generated', 'c', 'cpp')
4
5 comp = find_program('converter.py')
6
7 g = generator(comp,
8 output : '@BASENAME@',
9 arguments : ['@INPUT@', '@OUTPUT@'])
10
11 c = g.process('foobar.cpp.in')
12
13 prog = executable('genexe', c)
14
15 c2 = custom_target('c2gen',
16 output : '@BASENAME@',
17 input : 'foobar.cpp.in',
18 command : [comp, '@INPUT@', '@OUTPUT@'])
19
20 prog2 = executable('genexe2', c2)