1
0
mirror of https://github.com/4yn/slidershim.git synced 2024-11-12 00:40:49 +01:00
slidershim/src-interception/build.rs

12 lines
360 B
Rust
Raw Normal View History

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