capnp_cookbook_2/build.rs

9 lines
182 B
Rust
Raw Normal View History

extern crate capnpc;
fn main() {
::capnpc::CompilerCommand::new()
.src_prefix("schema")
.file("schema/point.capnp")
.run().expect("compiling schema");
}