rust-lang / cmake-rs

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

PDB files not generated in debug mode #179

Open andriyDev opened 1 year ago

andriyDev commented 1 year ago

On Windows, CMake does not generate PDB files when compiling in debug mode. This can cause problems if the original CMake files try to use the PDB files.

For example, https://github.com/recastnavigation/recastnavigation lists the PDB file as an install file. This makes CMake panic.

The relevant flag that is needed to generate PDBs appears to be -Zi.