forked from anydistro/bxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
40 lines (36 loc) · 1.48 KB
/
conanfile.py
File metadata and controls
40 lines (36 loc) · 1.48 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
from conan import ConanFile
from conan.tools.files import copy
import os
class BxtConanFile(ConanFile):
settings = "os", "arch", "compiler", "build_type"
generators = "CMakeDeps"
def requirements(self):
# to link to them you need to change cmake/deps.cmake
self.requires("openssl/3.3.1")
self.requires("boost/1.83.0")
self.requires("date/3.0.1") # Use until LLVM libc++ gets chrono::from_stream and chrono::to_stream support
self.requires("fmt/11.0.2")
self.requires("frozen/1.2.0")
self.requires("yaml-cpp/0.8.0")
self.requires("tomlplusplus/3.4.0")
self.requires("jwt-cpp/0.7.0")
self.requires("cpp-httplib/0.17.3")
self.requires("parallel-hashmap/1.37")
self.requires("libarchive/3.7.4")
self.requires("drogon/1.9.0")
self.requires("kangaru/4.3.0")
self.requires("lmdb/0.9.32")
self.requires("nlohmann_json/3.11.2")
self.requires("scnlib/1.1.2")
self.requires("cereal/1.3.2")
self.requires("libcoro/0.12.1")
self.requires("scope-lite/0.2.0")
def configure(self):
self.options["boost/*"].shared = True
self.options["c-ares/*"].shared = True
def generate(self):
for dep in self.dependencies.values():
if not dep.cpp_info.libdirs:
continue
copy(self, "*.so*", dep.cpp_info.libdirs[0],
os.path.join(self.build_folder, "../bin/lib"))