PDB_NAME_<CONFIG> — CMake 4.1.2 Documentation

# PDB_NAME_<CONFIG>

Per-configuration output name for the MS debug symbol `.pdb` file generated by the linker for an executable or shared library target.

This is the configuration-specific version of `PDB_NAME`.

New in version 4.1: Contents of `PDB_NAME_<CONFIG>` may use `generator expressions`.

Note

This property does not apply to STATIC library targets because no linker is invoked to produce them so they have no linker-generated `.pdb` file containing debug symbols.

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