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.
12 lines
394 B
12 lines
394 B
project('custom header generator', 'c') |
|
|
|
gen = find_program('makeheader.py') |
|
|
|
generated_h = custom_target('makeheader.py', |
|
output : 'myheader.lh', # Suffix not .h to ensure this works with custom suffixes, too. |
|
input : 'input.def', |
|
command : [gen, '@INPUT0@', '@OUTPUT0@']) |
|
|
|
prog = executable('prog', 'prog.c', generated_h, |
|
include_directories : include_directories('.')) |
|
test('gentest', prog)
|
|
|