genetic-images/conanfile.py

17 lines
557 B
Python
Raw Normal View History

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"
requires = "opencv/4.0.1@conan/stable", "boost_program_options/1.69.0@bincrafters/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()