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.
14 lines
383 B
14 lines
383 B
10 years ago
|
project('trickier generator', 'cpp')
|
||
|
|
||
|
comp = find_program('mygen.py')
|
||
|
subdir('subdir')
|
||
|
|
||
|
generated2 = custom_target('generated2',
|
||
9 years ago
|
output : ['source2.h', 'source2.cpp'],
|
||
|
input : 'data2.dat',
|
||
|
command : [comp, '@INPUT0@', '@OUTDIR@'])
|
||
10 years ago
|
|
||
|
exe = executable('prog', 'main.cpp', generated, generated2,
|
||
9 years ago
|
include_directories : include_directories('subdir'))
|
||
|
test('generated test', exe)
|