/Fd (Program Database File Name)
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Specifies a file name for the program database (PDB) file created by /Z7, /Zi, /ZI (Debug Information Format).
Without /Fd, the PDB file name defaults to VC
x is the major version of Visual C++ in use.
If you specify a path name that does not include a file name (the path ends in backslash), the compiler creates a .pdb file named VC
x0.pdb. in the specified directory.
If you specify a file name that does not include an extension, the compiler uses .pdb as the extension.
This option also names the state (.idb) file used for minimal rebuild and incremental compilation.
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
Click the C/C++ folder.
Click the Output Files property page.
Modify the Program Database File Name property.
This command line creates a .pdb file named PROG.pdb and an .idb file named PROG.idb:
CL /DDEBUG /Zi /FdPROG.PDB PROG.CPP