Skip to content

Commit

Permalink
Package pdb if comnpiled with RelWithDebInfo
Browse files Browse the repository at this point in the history
Contribute to CURA-11443
  • Loading branch information
jellespijker committed Dec 11, 2023
1 parent 1bfb786 commit ba4d80e
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 @@ -165,6 +165,8 @@ def package(self):
copy(self, f"CuraEngine{ext}", src=self.build_folder, dst=path.join(self.package_folder, "bin"))
copy(self, f"_CuraEngine.*", src=self.build_folder, dst=path.join(self.package_folder, "lib"))
copy(self, "LICENSE*", src=self.source_folder, dst=path.join(self.package_folder, "license"))
if self.settings.os == "Windows" and self.settings.build_type == "RelWithDebInfo":
copy(self, "CuraEngine.pdb", src=self.build_folder, dst=path.join(self.package_folder, "bin"))

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

0 comments on commit ba4d80e

Please sign in to comment.