summaryrefslogtreecommitdiff
path: root/iced_builder/build.rs
diff options
context:
space:
mode:
authorPolesznyák Márk László <116908301+pml68@users.noreply.github.com>2024-12-26 00:12:06 +0100
committerGitHub <noreply@github.com>2024-12-26 00:12:06 +0100
commit0ae3ec6cc9babcab39c76f023606229a151916ab (patch)
treee92d0109599622984b2c485cc020951da288cec3 /iced_builder/build.rs
parentMerge pull request #3 from pml68/refactor/internal-restructuring (diff)
parentfeat: add `tip` widget helper from `hecrj/icebreaker` (diff)
downloadiced-builder-0ae3ec6cc9babcab39c76f023606229a151916ab.tar.gz
Merge pull request #4 from pml68/feat/playground
Playground done **for now**
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();
+ }
+}