|
|
@ -7,10 +7,10 @@ python = find_program('python3') |
|
|
|
comp = '@0@/@1@'.format(meson.current_source_dir(), 'my_compiler.py') |
|
|
|
comp = '@0@/@1@'.format(meson.current_source_dir(), 'my_compiler.py') |
|
|
|
|
|
|
|
|
|
|
|
mytarget = custom_target('bindat', |
|
|
|
mytarget = custom_target('bindat', |
|
|
|
output : 'data.dat', |
|
|
|
output : 'data.dat', |
|
|
|
input : 'data_source.txt', |
|
|
|
input : 'data_source.txt', |
|
|
|
capture : true, |
|
|
|
capture : true, |
|
|
|
command : [python, comp, '@INPUT@'], |
|
|
|
command : [python, comp, '@INPUT@'], |
|
|
|
install : true, |
|
|
|
install : true, |
|
|
|
install_dir : 'subdir' |
|
|
|
install_dir : 'subdir' |
|
|
|
) |
|
|
|
) |
|
|
|