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.
19 lines
366 B
19 lines
366 B
3 years ago
|
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)
|