tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.87k stars 501 forks source link

build(protobuf): Use crate `cmake` #1137

Closed caspermeijn closed 1 month ago

caspermeijn commented 1 month ago

Let the crate cmake handle the interaction with CMake executable. This simplifies our codebase and improves compatibility with other platforms.

CMAKE_BUILD_TYPE is handle automatically based on opt-level.

Set CMAKE_GENERATOR environment variable in CI instead of hardcoded dependency on ninja-build.