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/7ef05d532cc71790a52bdd044bd15408 to your computer and use it in GitHub Desktop.
Save drussel/7ef05d532cc71790a52bdd044bd15408 to your computer and use it in GitHub Desktop.
from conans import ConanFile, CMake, tools, RunEnvironment
from pathlib import Path
dependencies = ('zlib/1.2.11@conan/stable',)
class MyPackage(ConanFile):
name = 'MyPackage'
_commit = 'xxxx'
_revision = '2'
version = _commit + '-' + _revision
url = ''
description = ''
license = ''
settings = 'os', 'compiler', 'build_type', 'arch'
options = {}
default_options = ()
keep_imports = True
short_paths = True
requires = dependencies + (
('stlab/1.2.0-0@velo3d/thirdparty', 'private'),)
def configure(self):
pass
def source(self):
pass
def build(self):
pass
def package_info(self):
self.cpp_info.libs = tools.collect_libs(self)
def package(self):
pass
def imports(self):
self.copy('*.dll', 'bin', 'bin')
self.copy('*.dylib', 'bin', 'lib')
self.copy('*.so*', 'bin', 'lib')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment