13 lines
481 B
Rust
13 lines
481 B
Rust
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
fn main() {
|
|
let config = slint_build::CompilerConfiguration::new().with_library_paths(
|
|
std::collections::HashMap::from([(
|
|
"material".to_string(),
|
|
std::path::Path::new(&std::env::var_os("CARGO_MANIFEST_DIR").unwrap())
|
|
.join("material-1.0/material.slint"),
|
|
)]),
|
|
);
|
|
slint_build::compile_with_config("ui/main.slint", config).unwrap();
|
|
}
|