cxx-demo 0.0.7

Toy project from https://github.com/dtolnay/cxx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
}