rusty-nes/build.rs
2022-08-31 18:47:44 +02:00

10 lines
246 B
Rust

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");
}