From fd281347f4e85af9dc743e0e8e61b9a506df69dc Mon Sep 17 00:00:00 2001 From: dimitri Date: Fri, 30 Jun 2017 07:23:23 +0200 Subject: [PATCH] Copying .pdb files for Windows debug static builds. --- build/conan/conanfile.py | 2 +- build/conan/test_package/conanfile.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/conan/conanfile.py b/build/conan/conanfile.py index 70c70be..d05622c 100644 --- a/build/conan/conanfile.py +++ b/build/conan/conanfile.py @@ -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) diff --git a/build/conan/test_package/conanfile.py b/build/conan/test_package/conanfile.py index 18065b9..df5c855 100644 --- a/build/conan/test_package/conanfile.py +++ b/build/conan/test_package/conanfile.py @@ -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")