Files
yachtpit/build.rs
geoffsee 4c6c36eff1 init
2025-06-30 12:03:59 -04:00

11 lines
279 B
Rust

extern crate embed_resource;
use std::env;
fn main() {
let target = env::var("TARGET").unwrap();
if target.contains("windows") {
// on windows we will set our game icon as icon for the executable
embed_resource::compile("build/windows/icon.rc");
}
}