-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
112 lines (105 loc) · 3.9 KB
/
conanfile.py
File metadata and controls
112 lines (105 loc) · 3.9 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import os
from conan import ConanFile
from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout, CMakeDeps
class MyConanFile(ConanFile):
name = "dreich"
version = "1.0"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "CMakeToolchain"
exports_sources = "*"
requires = [
"spdlog/1.13.0",
"yaml-cpp/0.8.0",
"zlib/1.2.11",
"stb/cci.20220909",
"pugixml/1.13",
"cxxopts/3.1.1",
"glad/0.1.36",
"glfw/3.3.8",
"glm/cci.20230113",
"boost/1.85.0"
]
options = {
"boost/*:header_only": [None, True, False],
"boost/*:without_charconv": [None, True, False],
"boost/*:without_container": [None, True, False],
"boost/*:without_system": [None, True, False],
"boost/*:without_filesystem": [None, True, False],
"boost/*:without_atomic": [None, True, False],
"boost/*:without_log": [None, True, False],
"boost/*:without_mpi": [None, True, False],
"boost/*:without_url": [None, True, False],
"boost/*:without_json": [None, True, False],
"boost/*:without_math": [None, True, False],
"boost/*:without_test": [None, True, False],
"boost/*:without_wave": [None, True, False],
"boost/*:without_fiber": [None, True, False],
"boost/*:without_graph": [None, True, False],
"boost/*:without_regex": [None, True, False],
"boost/*:without_timer": [None, True, False],
"boost/*:without_chrono": [None, True, False],
"boost/*:without_cobalt": [None, True, False],
"boost/*:without_locale": [None, True, False],
"boost/*:without_nowide": [None, True, False],
"boost/*:without_python": [None, True, False],
"boost/*:without_random": [None, True, False],
"boost/*:without_thread": [None, True, False],
"boost/*:without_context": [None, True, False],
"boost/*:without_contract": [None, True, False],
"boost/*:without_coroutine": [None, True, False],
"boost/*:without_date_time": [None, True, False],
"boost/*:without_exception": [None, True, False],
"boost/*:without_iostreams": [None, True, False],
"boost/*:without_stacktrace": [None, True, False],
"boost/*:without_type_erasure": [None, True, False],
"boost/*:without_serialization": [None, True, False],
"boost/*:without_graph_parallel": [None, True, False],
"boost/*:without_program_options": [None, True, False],
"boost/*:with_stacktrace_backtrace": [None, True, False],
}
default_options = {
"boost/*:header_only": False,
"boost/*:without_charconv": False,
"boost/*:without_container": False,
"boost/*:without_system": False,
"boost/*:without_filesystem": False,
"boost/*:without_atomic": False,
"boost/*:without_test": False,
"boost/*:without_exception": False,
"boost/*:without_log": True,
"boost/*:without_mpi": True,
"boost/*:without_url": True,
"boost/*:without_json": True,
"boost/*:without_math": True,
"boost/*:without_wave": True,
"boost/*:without_fiber": True,
"boost/*:without_graph": True,
"boost/*:without_regex": True,
"boost/*:without_timer": True,
"boost/*:without_chrono": True,
"boost/*:without_cobalt": True,
"boost/*:without_locale": True,
"boost/*:without_nowide": True,
"boost/*:without_python": True,
"boost/*:without_random": True,
"boost/*:without_thread": True,
"boost/*:without_context": True,
"boost/*:without_contract": True,
"boost/*:without_coroutine": True,
"boost/*:without_date_time": True,
"boost/*:without_iostreams": True,
"boost/*:without_stacktrace": True,
"boost/*:without_type_erasure": True,
"boost/*:without_serialization": True,
"boost/*:without_graph_parallel": True,
"boost/*:without_program_options": True,
"boost/*:with_stacktrace_backtrace": True,
}
def layout(self):
cmake_layout(self)
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package_info(self):
self.cpp_info.libs = ["Dreich"]