build: deploy pdbs with windows builds
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
dac73b394a
commit
71be6eb7d8
2 changed files with 19 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue