Client SDK for Windows Developers' Guide
This release is in Beta. Beta software is not fully supported, and may be incomplete or unstable. It is not intended for use in production systems. We welcome your feedback on this release! Send feedback to anyware-beta-feedback@hp.com.

Configuring CMake for PDB Files

In addition to the full .pdb files, a project can be configured to generate stripped .pdb files by adding the /PDBSTRIPPED:filename linker switch. For example, in CMake:

* set_target_properties( pcoip_client PROPERTIES LINK_FLAGS "/DEBUG
/PDBSTRIPPED:pcoip_client.pdb" )

All full .pdb files are copied over automatically to CMAKE_PDB_OUTPUT_DIRECTORY if CMAKE_PDB_OUTPUT_DIRECTORY is defined in the cmake file. Stripped .pdb files are generated at the location where the .vcxproj file is located.

Microsoft Documentation

For more information on debugging with symbols, see this article in the Microsoft documentation library.


Last updated: Friday, October 11, 2024