rusty-nes/build.rs

10 lines
246 B
Rust
Raw Permalink Normal View History

2022-08-31 16:47:44 +00:00
use cmake::Config;
fn main() {
let dst = Config::new("renderer")
.build();
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=glad");
println!("cargo:rustc-link-lib=static=renderer");
}