test cases/rust/22 cargo subproject/meson.build
raw| 1 | project('cargo subproject', 'c') |
| 2 | |
| 3 | foo_dep = dependency('foo-0', native : true) |
| 4 | exe = executable('app_native', 'main.c', |
| 5 | dependencies: foo_dep, |
| 6 | native : true, |
| 7 | ) |
| 8 | |
| 9 | foo_dep = dependency('foo-0') |
| 10 | exe = executable('app', 'main.c', |
| 11 | dependencies: foo_dep, |
| 12 | ) |
| 13 | test('cargo-test', exe) |