mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
17 lines
838 B
Rust
17 lines
838 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-changed=DOESNOTEXIST"); // rebuild every time
|
|
csbindgen::Builder::default()
|
|
.input_extern_file("../servicepoint2/src/bit_vec.rs")
|
|
.input_extern_file("../servicepoint2/src/byte_grid.rs")
|
|
.input_extern_file("../servicepoint2/src/command.rs")
|
|
.input_extern_file("../servicepoint2/src/compression_code.rs")
|
|
.input_extern_file("../servicepoint2/src/connection.rs")
|
|
.input_extern_file("../servicepoint2/src/pixel_grid.rs")
|
|
.input_extern_file("../servicepoint2/src/lib.rs")
|
|
.csharp_dll_name("servicepoint2")
|
|
.csharp_namespace("ServicePoint2.BindGen")
|
|
.csharp_use_nint_types(true)
|
|
.csharp_class_accessibility("public")
|
|
.generate_csharp_file("ServicePoint2/BindGen/ServicePoint2.g.cs")
|
|
.unwrap();
|
|
} |