rustdesk-server/libs/hbb_common/build.rs

10 lines
287 B
Rust
Raw Normal View History

2022-05-12 20:07:45 +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.");
}