build: Make pdb copy operation happen at install time
This commit is contained in:
parent
5a6af976cd
commit
1090b9879c
@ -834,7 +834,7 @@ function(generatePDBs)
|
||||
COMMAND_EXPAND_LISTS)
|
||||
|
||||
if (IMHEX_REPLACE_DWARF_WITH_PDB)
|
||||
file(COPY_FILE ${CMAKE_BINARY_DIR}/${PDB}.pdb ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb)
|
||||
install(CODE "file(COPY_FILE ${CMAKE_BINARY_DIR}/${PDB}.pdb ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb)")
|
||||
endif ()
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb DESTINATION ".")
|
||||
|
Loading…
x
Reference in New Issue
Block a user