summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-01-11 01:50:16 +0100
committerpml68 <contact@pml68.dev>2025-01-11 01:50:16 +0100
commit61926598ce96bee00aafe5340af4a905759b122a (patch)
treeb79e13b3decc778cc7c66af7187c647ae0a21a52 /build.rs
parentrefactor: apply clippy suggestions (diff)
downloadiced-builder-61926598ce96bee00aafe5340af4a905759b122a.tar.gz
refactor: remove iced_drop & workspace
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..438ce37
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,12 @@
+fn main() {
+ println!("cargo::rerun-if-changed=fonts/icons.toml");
+ iced_fontello::build("fonts/icons.toml").expect("Build icons font");
+ #[cfg(windows)]
+ {
+ embed_resource::compile(
+ "assets/windows/iced_builder.rc",
+ embed_resource::NONE,
+ );
+ windows_exe_info::versioninfo::link_cargo_env();
+ }
+}