Files
third_party_mesa3d/subprojects/packagefiles/indexmap/meson.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
565 B
Meson
Raw Normal View History

project(
'indexmap',
'rust',
version : '2.2.6',
license :'MIT OR Apache-2.0',
)
dep_equivalent = subproject('equivalent').get_variable('dep_equivalent')
dep_hashbrown = subproject('hashbrown').get_variable('dep_hashbrown')
rust_args = [
'--cfg', 'feature="std"'
]
lib = static_library(
'indexmap',
'src/lib.rs',
rust_args : rust_args,
override_options : ['rust_std=2021', 'build.rust_std=2021'],
rust_abi : 'rust',
native : true,
dependencies : [dep_equivalent, dep_hashbrown]
)
dep_indexmap = declare_dependency(
link_with : [lib],
)