rust-lang / cmake-rs

Rust build dependency for running cmake
https://docs.rs/cmake
Apache License 2.0
301 stars 121 forks source link

CMake generates MSBuild files instead of Ninja build #161

Closed zatrit closed 1 year ago

zatrit commented 1 year ago

I'm trying to build Rust SDL2 for Android with the "bundled" feature, but build always fails because CMake generates the MSBuild project files. Is there a way to forward the generator flag to CMake or another way to fix this?

zatrit commented 1 year ago

Ok, i found CMAKE_GENERATOR environment variable