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.
15 lines
360 B
15 lines
360 B
project('adder', 'c', 'rust', version: '1.0.0') |
|
|
|
subdir('zero') |
|
|
|
rl = shared_library('radder', 'adder.rs', |
|
rust_abi: 'c', |
|
link_with: [zero_shared, zero_static]) |
|
|
|
l = shared_library('adder', 'adder.c', |
|
c_args: '-DBUILDING_ADDER', |
|
link_with: rl, |
|
version: '1.0.0', |
|
soversion: '1', |
|
) |
|
test('adder', executable('addertest', 'addertest.c', link_with: l))
|
|
|