slint/examples/printerdemo/rust/build.rs
Simon Hausmann 3a50755cab
Add MCU board config setup (#1006)
* Add MCU board config setup

Let the mcu backend provide the link flags via I_DEP_* and the
Slint-build crate now offers a function to allow printing Slint-specific
rustc flags.
2022-03-03 13:31:40 +01:00

7 lines
246 B
Rust

// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
fn main() {
slint_build::compile("../ui/printerdemo.slint").unwrap();
slint_build::print_rustc_flags().unwrap();
}