mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 11:58:27 +00:00
Do not include PDB files in windows package when uploading symbols to bugsplat.
This commit is contained in:
parent
d2413f33a9
commit
396ed158f5
1 changed files with 6 additions and 1 deletions
|
|
@ -94,10 +94,15 @@ elseif(WIN32)
|
||||||
message(FATAL_ERROR "Failed to upload symbols! ${CPACK_COMMAND_RESULT}")
|
message(FATAL_ERROR "Failed to upload symbols! ${CPACK_COMMAND_RESULT}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
# Clean all unwanted files to package.
|
# Clean all unwanted files to package.
|
||||||
#####################################################
|
#####################################################
|
||||||
remove_file("${CPACK_TEMPORARY_INSTALL_DIRECTORY}/*/Qt*.pdb")
|
if(@ENABLE_BUGSPLAT_SYMBOLS_UPLOAD@)
|
||||||
|
remove_file("${CPACK_TEMPORARY_INSTALL_DIRECTORY}/*/*.pdb")
|
||||||
|
else()
|
||||||
|
remove_file("${CPACK_TEMPORARY_INSTALL_DIRECTORY}/*/Qt*.pdb")
|
||||||
|
endif()
|
||||||
|
|
||||||
# TODO: remove all pdb when CrashReporter is available. Symbols for crashing are in server so it is not needed for deployment.
|
# TODO: remove all pdb when CrashReporter is available. Symbols for crashing are in server so it is not needed for deployment.
|
||||||
# if debugging is needed, we could rebuild it and use pdb from local build instead of using official binaries.
|
# if debugging is needed, we could rebuild it and use pdb from local build instead of using official binaries.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue