Skip to content

Commit

Permalink
[merge] Merge pull request #502 from inexorgame/hanni/fix_conan_win_c…
Browse files Browse the repository at this point in the history
…onfig

[conan] Copy dll files into correct build folders on Windows
  • Loading branch information
IAmNotHanni committed Nov 28, 2022
2 parents 8383bc8 + d6726e0 commit 48d87e2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,18 @@ def requirements(self):

def imports(self):
# Copies all dll files from packages bin folder to my "bin" folder (win)
self.copy("*.dll", dst="bin", src="bin")
# Copies all dylib files from packages lib folder to my "lib" folder (macosx)
self.copy("*.dylib*", dst="lib", src="lib")
self.copy("*.dll", dst="benchmarks/Debug", src="bin")
self.copy("*.dll", dst="benchmarks/Release", src="bin")
self.copy("*.dll", dst="benchmarks/MinSizeRel", src="bin")
self.copy("*.dll", dst="benchmarks/RelWithDebInfo", src="bin")
self.copy("*.dll", dst="example/Debug", src="bin")
self.copy("*.dll", dst="example/Release", src="bin")
self.copy("*.dll", dst="example/MinSizeRel", src="bin")
self.copy("*.dll", dst="example/RelWithDebInfo", src="bin")
self.copy("*.dll", dst="tests/Debug", src="bin")
self.copy("*.dll", dst="tests/Release", src="bin")
self.copy("*.dll", dst="tests/MinSizeRel", src="bin")
self.copy("*.dll", dst="tests/RelWithDebInfo", src="bin")
# Copies all so files from packages lib folder to my "lib" folder (linux)
self.copy("*.so*", dst="lib", src="lib")

Expand Down

0 comments on commit 48d87e2

Please sign in to comment.