/PDBSTRIPPED:pdb_file_name
/PDBSTRIPPED creates a second program database (PDB) file when you build your program image with any of the compiler or linker options that generate a PDB file (/DEBUG, /Z7, /Zd, or /Zi). This second PDB file omits symbols that you would not want to ship to your customers. The second PDB file will only contain:
The stripped PDB file will not contain:
pdb_file_name is the name you specify for the stripped PDB file. The file extension is .pdb.
The full PDB file will still be generated when you use /PDBSTRIPPED.
If you do not create a PDB file, /PDBSTRIPPED is ignored.
Setting Linker Options | Linker Options | FAQ: Building Your Program