Created
June 29, 2018 17:01
-
-
Save drussel/7ef05d532cc71790a52bdd044bd15408 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 | |
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