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