forked from arttet/reproduce-bugs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconanfile.py
69 lines (50 loc) · 1.25 KB
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from conans import ConanFile, CMake
class UtilsConan(ConanFile):
name = "reproduce-bugs"
version = "0.0.0"
description = "If you can reproduce a bug, you can fix It"
homepage = "https://github.com/arttet/reproduce-bugs"
license = "MIT"
author = "Artyom Tetyukhin"
settings = "os", "arch", "compiler", "build_type"
options = {
"shared": [True, False],
"fPIC": [True, False],
}
default_options = {
"shared": False,
"fPIC": True,
}
generators = "cmake", "cmake_find_package"
build_policy = "missing"
def config_options(self):
if self.settings.os == "Windows":
del self.options.fPIC
def configure(self):
pass
def requirements(self):
pass
def package_id(self):
pass
def build_requirements(self):
pass
def build_id(self):
pass
def system_requirements(self):
pass
def source(self):
pass
def imports(self):
pass
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package(self):
pass
def package_info(self):
pass
def deploy(self):
pass