rustdesk/libs/hbb_common/build.rs
2022-01-10 18:05:42 +08:00

10 lines
287 B
Rust

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.");
}