summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorPolesznyák Márk László <116908301+pml68@users.noreply.github.com>2025-01-11 23:13:07 +0100
committerGitHub <noreply@github.com>2025-01-11 23:13:07 +0100
commit103699beeb8bdce38bc5803cbe038e74cbc20e40 (patch)
treeb79e13b3decc778cc7c66af7187c647ae0a21a52 /build.rs
parentMerge pull request #4 from pml68/feat/playground (diff)
parentrefactor: remove iced_drop & workspace (diff)
downloadiced-builder-103699beeb8bdce38bc5803cbe038e74cbc20e40.tar.gz
Merge pull request #5 from pml68/feat/config
Config done
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();
+ }
+}