objdiff/objdiff-gui/build.rs

15 lines
436 B
Rust
Raw Normal View History

use anyhow::Result;
2024-09-10 01:26:46 +00:00
use vergen_gitcl::{BuildBuilder, CargoBuilder, Emitter, GitclBuilder};
fn main() -> Result<()> {
#[cfg(windows)]
{
winres::WindowsResource::new().set_icon("assets/icon.ico").compile()?;
}
2024-09-10 01:26:46 +00:00
Emitter::default()
.add_instructions(&BuildBuilder::all_build()?)?
.add_instructions(&CargoBuilder::all_cargo()?)?
.add_instructions(&GitclBuilder::all_git()?)?
.emit()
}