lapce/lapce-ui/build.rs

14 lines
385 B
Rust
Raw Normal View History

2022-06-18 10:55:49 +00:00
#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
res.set("ProductName", "lapce");
res.set("FileDescription", "lapce");
res.set("LegalCopyright", "Copyright (C) 2022");
res.set_icon("../extra/windows/lapce.ico");
res.compile()
.expect("Failed to run the Windows resource compiler (rc.exe)");
}
#[cfg(not(windows))]
fn main() {}