config.phundrak.com/dev/conan-project/conanfile.py

17 lines
475 B
Python
Raw Normal View History

2019-07-21 01:27:31 +00:00
from conans import ConanFile, CMake
class PROJECTNAMEConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = "gtest/1.8.1@bincrafters/stable"
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()