Debian Codegraph @

test cases/rust/3 staticlib/meson.build

raw
1 project('rust static library', 'rust', 'c')
2
3 o = static_library('other', 'other.rs')
4 v = static_library('value', 'value.c')
5 l = static_library('stuff', 'stuff.rs', link_whole : [o, v], install : true)
6 e = executable('prog', 'prog.rs', link_with : l, install : true)
7 test('linktest', e)
8
9 l = static_library('stuff2', 'stuff2.rs', link_with : [o, v])
10 e = executable('prog2', 'prog2.rs', link_with : l)