contextfree / winrt-rust

Use and (eventually) make Windows Runtime APIs with Rust
Apache License 2.0
142 stars 10 forks source link

Should running the codegen be part of the build process? #21

Open Boddlnagg opened 7 years ago

Boddlnagg commented 7 years ago

We need to figure out whether running the code generator should be part of building the library. If so, we should have a Cargo build script to run it as part of building winrt-rust.

So far, I'm inclined to say that we should have gen.rs checked into the repository and distribute it that way. This has the following advantages: