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.
9 lines
339 B
9 lines
339 B
project('rust and c polyglot executable', 'c', 'rust') |
|
|
|
if host_machine.system() == 'darwin' |
|
error('MESON_SKIP_TEST: doesnt work right on macos, please fix!') |
|
endif |
|
|
|
l = shared_library('stuff', 'stuff.rs', rust_crate_type: 'cdylib', install : true) |
|
e = executable('prog', 'prog.c', link_with : l, install : true) |
|
test('polyglottest', e)
|
|
|