blob: 17d27e578828b0fa21dab5a11e69b204b7d8e7d8 [file] [log] [blame]
project('generatorcustom', 'c')
creator = find_program('gen.py')
catter = find_program('catter.py')
gen = generator(creator,
output: '@BASENAME@.h',
arguments : ['@INPUT@', '@OUTPUT@'])
hs = gen.process('res1.txt', 'res2.txt')
allinone = custom_target('alltogether',
input : hs,
output : 'alltogether.h',
command : [catter, '@INPUT@', '@OUTPUT@'])
executable('proggie', 'main.c', allinone)