COMPILE_PDB_NAMEΒΆ

Added in version 3.1.

Output name for the MS debug symbol .pdb file generated by the compiler while building source files.

This property specifies the base name for the debug symbols file. If not set, the default is unspecified.

If the PRECOMPILE_HEADERS_REUSE_FROM target is set, this property is ignored and the reusage target's value of this property is used instead.

Changed in version 4.6: With policy CMP0233 set to NEW, this property names the .pdb file of the sources not compiled with the reused precompiled header.

Added in version 4.1: Contents of COMPILE_PDB_NAME may use generator expressions.

Note

The compiler-generated program database files are specified by the /Fd compiler flag and are not the same as linker-generated program database files specified by the /pdb linker flag. Use the PDB_NAME property to specify the latter.