13 lines
353 B
Rust
13 lines
353 B
Rust
use std::path::Path;
|
|
|
|
fn main() {
|
|
println!("cargo::rerun-if-changed=shrooms-vb-core");
|
|
cc::Build::new()
|
|
.include(Path::new("shrooms-vb-core/core"))
|
|
.opt_level(2)
|
|
.flag_if_supported("-flto")
|
|
.flag_if_supported("-fno-strict-aliasing")
|
|
.file(Path::new("shrooms-vb-core/core/vb.c"))
|
|
.compile("vb");
|
|
}
|