Skip to content

Commit 83b0674

Browse files
committed
Updated conanfile.py
1 parent 37df0f8 commit 83b0674

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

conanfile.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,6 @@ def build(self):
6969
with env.vars(self).apply():
7070
cmake.test()
7171

72-
# TODO: Remove this
73-
def generate(self):
74-
build_type = self.settings.get_safe("build_type", "Debug")
75-
bin_dir = os.path.join(self.build_folder, "output", str(build_type).lower(), "bin")
76-
lib_dir = os.path.join(self.build_folder, "output", str(build_type).lower(), "lib")
77-
78-
for dep in self.dependencies.values():
79-
for dep_bin_dir in dep.cpp_info.bindirs:
80-
copy(self, "*.dll", src=dep_bin_dir, dst=bin_dir, keep_path=False)
81-
if build_type == "Debug":
82-
copy(self, "*.pdb", src=dep_bin_dir, dst=bin_dir, keep_path=False)
83-
84-
for dep_lib_dir in dep.cpp_info.libdirs:
85-
copy(self, "*.so.*", src=dep_lib_dir, dst=lib_dir, keep_path=False)
86-
copy(self, "*.so", src=dep_lib_dir, dst=lib_dir, keep_path=False)
87-
8872
# Packaging
8973
def package(self):
9074
cmake = CMake(self)

0 commit comments

Comments
 (0)