rustdesk/libs/hbb_common/build.rs

10 lines
287 B
Rust
Raw Normal View History

2021-03-29 15:59:14 +08:00
fn main() {
std::fs::create_dir_all("src/protos").unwrap();
protobuf_codegen_pure::Codegen::new()
.out_dir("src/protos")
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
.include("protos")
.run()
.expect("Codegen failed.");
}