mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-12-12 09:25:36 +00:00
11 lines
332 B
Rust
11 lines
332 B
Rust
fn main() {
|
|
cxx_build::bridge("src/main.rs")
|
|
.file("src/blobstore.cc")
|
|
.flag_if_supported("-std=c++14")
|
|
.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");
|
|
}
|