Created
June 29, 2018 17:01
-
-
Save drussel/29fd8ff1364b9f2ca59d658a4f5ed403 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conans import ConanFile, CMake, tools, RunEnvironment | |
from pathlib import Path | |
import MyPackage | |
class V3D(ConanFile): | |
settings = 'os', 'compiler', 'build_type', 'arch' | |
generators = ('visual_studio') | |
keep_imports = True | |
short_paths = True | |
requires = MyPackage.dependencies + ('MyPackage/'+MyPackage.MyPackage.version + "@testing/testing",) | |
def imports(self): | |
self.copy('*.exe', 'bin', 'bin') | |
self.copy('*.lib', 'lib', 'lib') | |
dest = '../../../' + str(self.settings.build_type) + '-x64' | |
self.copy('*.dll', 'bin', dest) | |
self.copy('*.dll', 'bin', 'bin') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment