KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
993 stars 66 forks source link

Allow cxx-qt-build to deal with build scripts running in parallel #999

Closed LeonMatthesKDAB closed 1 month ago

LeonMatthesKDAB commented 1 month ago

As we discovered after merging our latest build system refactorings, Cargo may actually run build scripts in parallel when multiple configurations are used.

We want to deal with this by using the OUT_DIR for cargo builds, as is encouraged by Cargo.

For CMake integration we want to only export the crate that is imported by CMake and require the user to manually provide different export directories when building multiple configurations.

LeonMatthesKDAB commented 1 month ago

Oh, Github item #999, nice. One more and we made it to 1000 :partying_face: