14 lines
No EOL
253 B
Rust
14 lines
No EOL
253 B
Rust
use cc;
|
|
|
|
fn main() {
|
|
let mut build = cc::Build::new();
|
|
|
|
build
|
|
.emit_rerun_if_env_changed(true)
|
|
.cpp(true)
|
|
.std("c++20")
|
|
.include("shared/src")
|
|
.file("shared/src/ivshmem.cpp")
|
|
.file("src/rust_wrapper.cpp")
|
|
.compile("rust_ivshmem_bare");
|
|
} |