diff --git a/test cases/common/118 allgenerate/meson.build b/test cases/common/118 allgenerate/meson.build index 98ecabfb5..93428d62e 100644 --- a/test cases/common/118 allgenerate/meson.build +++ b/test cases/common/118 allgenerate/meson.build @@ -1,11 +1,11 @@ -project('all sources generated', 'cpp') +project('all sources generated', 'c') comp = find_program('converter.py') -c = custom_target('outputfile', - input : 'foobar.c.in', - output : 'foobar.cpp', - command : [comp, '@INPUT@', '@OUTPUT@'], -) +g = generator(comp, + output : '@BASENAME@.c', + arguments : ['@INPUT@', '@OUTPUT@']) + +c = g.process('foobar.c.in') prog = executable('genexe', c)