build: Rename output pdb file if necessary
This commit is contained in:
parent
55e39a5d30
commit
5a6af976cd
@ -833,6 +833,10 @@ function(generatePDBs)
|
||||
) || (exit 0)
|
||||
COMMAND_EXPAND_LISTS)
|
||||
|
||||
if (IMHEX_REPLACE_DWARF_WITH_PDB)
|
||||
file(COPY_FILE ${CMAKE_BINARY_DIR}/${PDB}.pdb ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb)
|
||||
endif ()
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb DESTINATION ".")
|
||||
|
||||
add_dependencies(imhex_all ${PDB}_pdb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user