summaryrefslogtreecommitdiff
path: root/iced_builder/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'iced_builder/build.rs')
-rw-r--r--iced_builder/build.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/iced_builder/build.rs b/iced_builder/build.rs
new file mode 100644
index 0000000..438ce37
--- /dev/null
+++ b/iced_builder/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();
+ }
+}