we don't need meson here

This commit is contained in:
Martin Brodbeck 2023-11-29 13:05:23 +01:00
parent 14ebe00d42
commit 0d5a8bc8bb

View file

@ -1,26 +0,0 @@
clrigctl_sources = [
cargo_sources,
'main.rs',
]
clrigctl_deps = [
]
cargo_script = find_program(join_paths(meson.source_root(), 'build-aux/cargo.sh'))
cargo_release = custom_target(
'cargo-build',
build_by_default: true,
input: clrigctl_sources,
output: meson.project_name(),
console: true,
install: true,
install_dir: get_option('bindir'),
command: [
cargo_script,
meson.build_root(),
meson.source_root(),
'@OUTPUT@',
get_option('buildtype'),
meson.project_name(),
]
)