use cxx_build::CFG; fn main() { CFG.include_prefix = "demo"; cxx_build::bridge("src/lib.rs") .file("src/blobstore.cc") .flag_if_supported("-std=c++14") .compile("cxxbridge-demo"); println!("cargo:rerun-if-changed=src/lib.rs"); println!("cargo:rerun-if-changed=src/blobstore.cc"); println!("cargo:rerun-if-changed=include/blobstore.h"); }