aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/native/3 pipeline/depends/meson.build
blob: 5111fee7a68976e3c04b7cc557d54ae597336ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
runner = find_program('copyrunner.py')

copier = executable('copier', 'filecopier.c', native: true)

cg = generator(runner,
    output: ['@BASENAME@.c'],
    arguments: [copier.full_path(), '@INPUT@', '@OUTPUT@'],
    depends: copier)

test('generatordep',
    executable('gd', 'prog.c', cg.process('libsrc.c.in')))