2024-11-18 15:35:01 +00:00
|
|
|
fn main() {
|
2024-11-25 20:53:08 +00:00
|
|
|
#[cfg(feature = "starter")]
|
2024-11-18 15:35:01 +00:00
|
|
|
slint_build::compile_with_config(
|
|
|
|
"ui/app-window.slint",
|
|
|
|
slint_build::CompilerConfiguration::new()
|
|
|
|
.embed_resources(slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer),
|
|
|
|
)
|
|
|
|
.unwrap();
|
2024-11-25 20:53:08 +00:00
|
|
|
#[cfg(feature = "timer")]
|
2024-11-19 22:00:08 +00:00
|
|
|
slint_build::compile_with_config(
|
|
|
|
"ui/timer-app.slint",
|
|
|
|
slint_build::CompilerConfiguration::new()
|
|
|
|
.embed_resources(slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer),
|
|
|
|
)
|
|
|
|
.unwrap();
|
2024-11-25 20:53:08 +00:00
|
|
|
#[cfg(feature = "light-control")]
|
2024-11-19 22:00:08 +00:00
|
|
|
slint_build::compile_with_config(
|
|
|
|
"ui/lights-app.slint",
|
|
|
|
slint_build::CompilerConfiguration::new()
|
|
|
|
.embed_resources(slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer),
|
|
|
|
)
|
|
|
|
.unwrap();
|
2024-11-25 20:53:08 +00:00
|
|
|
#[cfg(feature = "microwave-ui")]
|
2024-11-19 22:00:08 +00:00
|
|
|
slint_build::compile_with_config(
|
|
|
|
"ui/microwave-ui.slint",
|
|
|
|
slint_build::CompilerConfiguration::new()
|
|
|
|
.embed_resources(slint_build::EmbedResourcesKind::EmbedForSoftwareRenderer),
|
|
|
|
)
|
|
|
|
.unwrap();
|
2024-11-18 15:35:01 +00:00
|
|
|
}
|