### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-properties(7) »

# PDB_OUTPUT_DIRECTORY

Output directory for the MS debug symbols `.pdb` file generated by the linker for an executable or shared library target.

This property specifies the directory into which the MS debug symbols will be placed by the linker. This property is initialized by the value of the `CMAKE_PDB_OUTPUT_DIRECTORY` variable if it is set when a target is created.

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 compiler-generated program database files specified by the MSVC `/Fd` flag are not the same as linker-generated program database files and so are not influenced by this property.

This property is not implemented by the `Visual Studio 6` generator.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-properties(7) »