Debian Codegraph @

test cases/rust/28 mixed/meson.build

raw
1 # use C++ to make it harder
2 project('mixed', ['cpp', 'rust'])
3
4 e1 = executable('mixed', 'hello.rs', 'main.cc')
5 e2 = executable('mixed-structured', structured_sources('hello.rs'), 'main.cc')
6
7 hello2 = import('fs').copyfile('hello.rs', 'hello2.rs')
8 e3 = executable('mixed-structured-gen', structured_sources(hello2), 'main.cc')
9
10 test('mixed', e1)
11 test('mixed-structured', e2)
12 test('mixed-structured-gen', e3)