Skip to content
Snippets Groups Projects
Commit 0f9ab20e authored by Simon Oehrl's avatar Simon Oehrl
Browse files

Rename libraries in the conanfile

#18
parent 9e4e54a9
No related branches found
No related tags found
1 merge request!13Rename libraries in the conanfile
Pipeline #
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
from conans import ConanFile, CMake from conans import ConanFile, CMake
class nesci(ConanFile): class nesci(ConanFile):
name = "nesci" name = "nesci"
version = "18.05" version = "18.05"
...@@ -33,11 +34,15 @@ class nesci(ConanFile): ...@@ -33,11 +34,15 @@ class nesci(ConanFile):
requires = (("catch/1.12.0@RWTH-VR/thirdparty"), requires = (("catch/1.12.0@RWTH-VR/thirdparty"),
("cpplint/e8ffd7c@RWTH-VR/thirdparty"), ("cpplint/e8ffd7c@RWTH-VR/thirdparty"),
("cppcheck/1.82@RWTH-VR/thirdparty"), ("cppcheck/1.82@RWTH-VR/thirdparty"),
("conduit/0.3.1@RWTH-VR/thirdparty")) ("conduit/0.3.1@RWTH-VR/thirdparty"),
("boost_python/1.66.0@bincrafters/testing"))
generators = "cmake" generators = "cmake"
def configure(self): def configure(self):
if (self.settings.os == "Windows"): self.options["boost"].header_only = False
self.options["boost"].shared = True
self.options["boost_python"].python_version = 2.7
self.options["boost_python"].shared = True
self.options["conduit"].shared = False self.options["conduit"].shared = False
def imports(self): def imports(self):
...@@ -78,4 +83,5 @@ class nesci(ConanFile): ...@@ -78,4 +83,5 @@ class nesci(ConanFile):
self.copy("*.dylib", dst="lib", keep_path=False, symlinks=True) self.copy("*.dylib", dst="lib", keep_path=False, symlinks=True)
def package_info(self): def package_info(self):
self.cpp_info.libs = ["layout", "consumer", "producer"] self.cpp_info.libs = ["nesci_layout",
"nesci_consumer", "nesci_producer"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment