mirror of
https://github.com/4yn/slidershim.git
synced 2024-11-12 00:40:49 +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");
|
||
|
}
|