forked from gentoo-utils/gentoo-utils
add meson support
This commit is contained in:
20
meson.build
Normal file
20
meson.build
Normal file
@@ -0,0 +1,20 @@
|
||||
project(
|
||||
'gentoo-utils',
|
||||
'rust',
|
||||
meson_version: '>=1.9.1',
|
||||
default_options: {'rust_std': '2024', 'rust_nightly': 'enabled'},
|
||||
)
|
||||
|
||||
rust = import('rust')
|
||||
|
||||
mon = dependency('mon-0.1-rs')
|
||||
get = dependency('get-0.1-rs')
|
||||
itertools = dependency('itertools-0.14-rs')
|
||||
thiserror = subproject('thiserror').get_variable('thiserror')
|
||||
|
||||
gentoo_utils = static_library(
|
||||
'gentoo_utils',
|
||||
'src/lib.rs',
|
||||
dependencies: [mon, get, itertools],
|
||||
link_with: [thiserror]
|
||||
)
|
||||
Reference in New Issue
Block a user