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.
13 lines
278 B
13 lines
278 B
7 years ago
|
fp = find_program('genheader.py')
|
||
|
|
||
|
genh = custom_target('genh',
|
||
|
input : 'funname',
|
||
|
output : 'funheader.h',
|
||
|
command : [fp, '@INPUT@', '@OUTPUT@'])
|
||
|
|
||
|
dep = declare_dependency(sources : [genh])
|
||
|
|
||
|
e = executable('genuser', 'main.c',
|
||
|
dependencies : dep)
|
||
|
test('genuser', e)
|