mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-17 23:23:43 +02:00
13 lines
409 B
Rust
13 lines
409 B
Rust
|
fn main() {
|
||
|
cxx_build::bridge("src/main.rs")
|
||
|
.file("src/blobstore.cc")
|
||
|
.flag_if_supported("-std=c++14")
|
||
|
.include(".")
|
||
|
.include("../../../target/cxxbridge/demo/src")
|
||
|
.compile("cxxbridge-demo");
|
||
|
|
||
|
println!("cargo:rerun-if-changed=src/main.rs");
|
||
|
println!("cargo:rerun-if-changed=src/blobstore.cc");
|
||
|
println!("cargo:rerun-if-changed=include/blobstore.h");
|
||
|
}
|