1
0
mirror of https://github.com/4yn/slidershim.git synced 2024-09-23 18:58:27 +02:00
slidershim/src-interception/build.rs

12 lines
360 B
Rust

fn main() {
println!("cargo:rerun-if-changed=include/interception.h");
println!("cargo:rerun-if-changed=src/interception.c");
cc::Build::new()
.define("INTERCEPTION_STATIC", None)
.file("src/interception.c")
.include("include/")
.compile("interception");
println!("cargo:rustc-link-lib=static=interception");
}