Copying .pdb files for Windows debug static builds.

This commit is contained in:
dimitri 2017-06-30 07:23:23 +02:00
parent 2a5a242624
commit fd281347f4
2 changed files with 2 additions and 1 deletions

View File

@ -88,11 +88,11 @@ class GlewConan(ConanFile):
if self.settings.os == "Windows":
if self.settings.compiler == "Visual Studio":
self.copy(pattern="*.pdb", dst="bin", keep_path=False)
if self.options.shared:
self.copy(pattern="*32.lib", dst="lib", keep_path=False)
self.copy(pattern="*32d.lib", dst="lib", keep_path=False)
self.copy(pattern="*.dll", dst="bin", keep_path=False)
self.copy(pattern="*.pdb", dst="bin", keep_path=False)
else:
self.copy(pattern="*32s.lib", dst="lib", keep_path=False)
self.copy(pattern="*32sd.lib", dst="lib", keep_path=False)

View File

@ -20,5 +20,6 @@ class TestGlew(ConanFile):
def imports(self):
if self.settings.os == "Windows":
self.copy(pattern="*.dll", dst="bin", src="bin")
self.copy(pattern="*.pdb", dst="bin", src="bin")
if self.settings.os == "Macos":
self.copy(pattern="*.dylib", dst="bin", src="lib")