Skip to content

Commit

Permalink
Conan cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wardru committed Oct 1, 2023
1 parent 276701b commit 6f41c5e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def configure(self):
def generate(self):
tc = CMakeToolchain(self)
tc.variables["BUILD_EXAMPLES"] = self.options.build_examples
tc.filename = "pzacxx_toolchain.cmake"
tc.generate()
deps = CMakeDeps(self)
deps.generate()
Expand All @@ -48,9 +49,4 @@ def build(self):

def package(self):
cmake = CMake(self)
cmake.install()

def package_info(self):
self.cpp_info.name = "Panduza C++ Library"
suffix = "-debug" if self.settings.build_type == "Debug" else ""
self.cpp_info.libs = [f"pza-cxx{suffix}"]
cmake.install()

0 comments on commit 6f41c5e

Please sign in to comment.