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.
19 lines
412 B
19 lines
412 B
9 years ago
|
project('generatorcustom', 'c')
|
||
|
|
||
8 years ago
|
creator = find_program('gen.py')
|
||
|
catter = find_program('catter.py')
|
||
9 years ago
|
|
||
8 years ago
|
gen = generator(creator,
|
||
|
output: '@BASENAME@.h',
|
||
|
arguments : ['@INPUT@', '@OUTPUT@'])
|
||
9 years ago
|
|
||
8 years ago
|
hs = gen.process('res1.txt', 'res2.txt')
|
||
9 years ago
|
|
||
8 years ago
|
allinone = custom_target('alltogether',
|
||
|
input : hs,
|
||
|
output : 'alltogether.h',
|
||
|
command : [catter, '@INPUT@', '@OUTPUT@'])
|
||
|
|
||
|
executable('proggie', 'main.c', allinone)
|
||
9 years ago
|
|