veilid/veilid-cli/build.rs

12 lines
291 B
Rust
Raw Normal View History

2021-11-22 11:28:30 -05:00
fn main() {
::capnpc::CompilerCommand::new()
.file("../veilid-server/proto/veilid-client.capnp")
.src_prefix("../veilid-server/")
.run()
.expect("compiling schema");
#[cfg(unix)]
{
println!("cargo:rustc-link-lib=static=ncursesw");
}
2021-11-22 11:28:30 -05:00
}