summaryrefslogtreecommitdiffstats
path: root/test cases/d/16 code generation/meson.build
blob: 2418acab5216d782ff45cc86d4918b63020a7024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project('meson-dep-test', 'd')

generator = executable('generator', 'generator.d')

generated = custom_target('generated',
    capture: true,
    output: 'generated.d',
    input: 'input.txt',
    command: [
        generator, '@INPUT@'
    ]
)

exe = executable('exe', generated, 'exe.d',
    include_directories: include_directories('.'),
)

test('test exe', exe)