mirror of
https://github.com/4yn/slidershim.git
synced 2025-02-01 20:18:07 +01:00
12 lines
360 B
Rust
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");
|
|
}
|