Skip to content

Commit

Permalink
Upload pdb for Windows
Browse files Browse the repository at this point in the history
Contribute to CURA-11482
  • Loading branch information
jellespijker committed Jan 10, 2024
1 parent 7565c09 commit 619e952
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def build(self):
raise ConanInvalidSystemRequirements("sentry-cli is not installed")
ext = ".exe" if self.settings.os == "Windows" else ""
self.run(f"sentry-cli debug-files upload --include-sources ../../ -o {sentry_project} -p curaengine CuraEngine{ext}")
if self.settings.os == "Windows" and self.settings.build_type == "RelWithDebInfo":
self.run(f"sentry-cli upload-dif --include-sources ../../ -o {sentry_project} -p curaengine CuraEngine.pdb")

def package(self):
ext = ".exe" if self.settings.os == "Windows" else ""
Expand Down

0 comments on commit 619e952

Please sign in to comment.