We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daeaaca commit d431030Copy full SHA for d431030
conanfile.py
@@ -148,16 +148,16 @@ def package(self):
148
release_dir,
149
]
150
)
151
+
152
+ self.copy(pattern="*", src=package_dir)
153
154
# Add the pdb files next to the libs for RelWithDebInfo linking
155
if tools.os_info.is_windows:
- pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo/lib")
156
+ pdb_dest = pathlib.Path(package_dir, "RelWithDebInfo/pdb")
157
pdb_dest.mkdir()
158
pdb_files = pathlib.Path(self.build_folder).glob("*.pdb")
159
for pfile in pdb_files:
160
shutil.copy(pfile, pdb_dest)
-
- self.copy(pattern="*", src=package_dir)
161
162
def package_info(self):
163
self.cpp_info.relwithdebinfo.libdirs = ["RelWithDebInfo/lib"]
0 commit comments