Skip to content

Instantly share code, notes, and snippets.

@drussel
Created June 29, 2018 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drussel/29fd8ff1364b9f2ca59d658a4f5ed403 to your computer and use it in GitHub Desktop.
Save drussel/29fd8ff1364b9f2ca59d658a4f5ed403 to your computer and use it in GitHub Desktop.
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