fpvsetup 0.1.0

Library and GUI tool for calculating optimal first-person 3D view parameters from monitor size and distance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    #[cfg(windows)]
    build_winres().expect("failed to compile the executable description and shell icon");
}

#[cfg(windows)]
fn build_winres() -> std::io::Result<()> {
    use winres::*;

    println!("cargo:rerun-if-changed=icon/icon.ico");
    let mut res = WindowsResource::new();
    res.set_icon("icon/icon.ico");
    res.compile()?;
    Ok(())
}