build: deploy pdbs with windows builds

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth
2025-06-30 14:58:23 -04:00
committed by Seth Flynn
parent dac73b394a
commit 71be6eb7d8
2 changed files with 19 additions and 0 deletions

View File

@@ -85,6 +85,10 @@ else()
foreach(lang C CXX)
set("CMAKE_${lang}_FLAGS" "-gcodeview ${CMAKE_${lang}_FLAGS}")
# Force-enabling this to use generator expressions like TARGET_PDB_FILE
# (and because we can actually emit PDBs)
set("CMAKE_${lang}_LINKER_SUPPORTS_PDB" ON)
endforeach()
endif()