1*d0f0cd5bSPaolo Bonziniproject(
2*d0f0cd5bSPaolo Bonzini  'bilge-0.2-rs',
3*d0f0cd5bSPaolo Bonzini  'rust',
4*d0f0cd5bSPaolo Bonzini  version : '0.2.0',
5*d0f0cd5bSPaolo Bonzini  license : 'MIT or Apache-2.0',
6*d0f0cd5bSPaolo Bonzini)
7*d0f0cd5bSPaolo Bonzini
8*d0f0cd5bSPaolo Bonzinisubproject('arbitrary-int-1-rs', required: true)
9*d0f0cd5bSPaolo Bonzinisubproject('bilge-impl-0.2-rs', required: true)
10*d0f0cd5bSPaolo Bonzini
11*d0f0cd5bSPaolo Bonziniarbitrary_int_dep = dependency('arbitrary-int-1-rs')
12*d0f0cd5bSPaolo Bonzinibilge_impl_dep = dependency('bilge-impl-0.2-rs')
13*d0f0cd5bSPaolo Bonzini
14*d0f0cd5bSPaolo Bonzinilib = static_library(
15*d0f0cd5bSPaolo Bonzini  'bilge',
16*d0f0cd5bSPaolo Bonzini  'src/lib.rs',
17*d0f0cd5bSPaolo Bonzini  override_options : ['rust_std=2021', 'build.rust_std=2021'],
18*d0f0cd5bSPaolo Bonzini  rust_abi : 'rust',
19*d0f0cd5bSPaolo Bonzini  dependencies: [
20*d0f0cd5bSPaolo Bonzini    arbitrary_int_dep,
21*d0f0cd5bSPaolo Bonzini    bilge_impl_dep,
22*d0f0cd5bSPaolo Bonzini  ],
23*d0f0cd5bSPaolo Bonzini)
24*d0f0cd5bSPaolo Bonzini
25*d0f0cd5bSPaolo Bonzinibilge_dep = declare_dependency(
26*d0f0cd5bSPaolo Bonzini  link_with : [lib],
27*d0f0cd5bSPaolo Bonzini)
28*d0f0cd5bSPaolo Bonzini
29*d0f0cd5bSPaolo Bonzinimeson.override_dependency('bilge-0.2-rs', bilge_dep)
30