79542136

Date: 2025-03-28 18:11:22
Score: 1.5
Natty:
Report link

My solution was to use

target_link_options(${TARGET_NAME} PRIVATE "/PDBALTPATH:$<TARGET_PROPERTY:${TARGET_NAME},NAME>.pdb")

To specify the link options on the target to use the full path to the pdb file.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: T. Cash