blob: 66f7fa9c18af34f908924a5cfcb9d1ecd9f4a3df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
project('trickier generator', 'cpp')
comp = find_program('mygen.py')
subdir('subdir')
generated2 = custom_target('generated2',
output : ['source2.h', 'source2.cpp'],
input : 'data2.dat',
command : [comp, '@INPUT0@', '@OUTDIR@'])
exe = executable('prog', 'main.cpp', generated, generated2,
include_directories : include_directories('subdir'))
test('generated test', exe)
|