Skip to content

Commit

Permalink
Package pdb if comnpiled with RelWithDebInfo (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema authored Dec 15, 2023
2 parents 1739945 + ba4d80e commit 6c5cfdc
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 6c5cfdc

Please sign in to comment.