Disable C++ PDB generation from the IDE
First thing first - this is not recommended to disable .PDB
generation, even for a Release Build!
Anyway, you just need to go:
- Linker -> Debugging -> Generate Debug Info, and set it to
No
You can remove it manually:
Step 1. Compiler.
- Selected "Configuration Properties > C/C++ > General > Debug Information Format"
- Hit DEL
Step 2. Linker.
Also you need to disable generating Debug info for Linker
- Selected "Configuration Properties > Linker > Debugging> Generate Debug Info" set to No
Step 3. Profiler.
- Also set "Profile" to "No" in Linker > Advanced or you may still see PDB files generated!