2019-03-19 12:49:37 +00:00
|
|
|
from conans import CMake, ConanFile
|
2019-03-19 09:14:19 +00:00
|
|
|
|
|
|
|
|
2019-03-19 16:27:54 +00:00
|
|
|
class GeneticImageConan(ConanFile):
|
2019-03-19 09:14:19 +00:00
|
|
|
settings = "os", "compiler", "build_type", "arch"
|
2019-03-19 13:22:59 +00:00
|
|
|
requires = "opencv/4.0.1@conan/stable", "boost/1.69.0@conan/stable", "spdlog/1.3.1@bincrafters/stable"
|
2019-03-19 09:14:19 +00:00
|
|
|
generators = "cmake", "gcc", "txt"
|
|
|
|
|
|
|
|
def imports(self):
|
|
|
|
self.copy("*.dll", dst="bin", src="bin") # From bin to bin
|
|
|
|
self.copy("*.dylib*", dst="bin", src="lib") # From lib to bin
|
|
|
|
|
|
|
|
def build(self):
|
|
|
|
cmake = CMake(self)
|
|
|
|
cmake.configure()
|
|
|
|
cmake.build()
|