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.
21 lines
465 B
21 lines
465 B
8 years ago
|
# Must have two languages here to exercise linker language
|
||
|
# selection bug
|
||
|
project('all sources generated', 'c', 'cpp')
|
||
8 years ago
|
|
||
|
comp = find_program('converter.py')
|
||
|
|
||
8 years ago
|
g = generator(comp,
|
||
8 years ago
|
output : '@BASENAME@',
|
||
8 years ago
|
arguments : ['@INPUT@', '@OUTPUT@'])
|
||
|
|
||
8 years ago
|
c = g.process('foobar.cpp.in')
|
||
8 years ago
|
|
||
|
prog = executable('genexe', c)
|
||
8 years ago
|
|
||
|
c2 = custom_target('c2gen',
|
||
8 years ago
|
output : '@BASENAME@',
|
||
8 years ago
|
input : 'foobar.cpp.in',
|
||
|
command : [comp, '@INPUT@', '@OUTPUT@'])
|
||
|
|
||
8 years ago
|
prog2 = executable('genexe2', c2)
|