-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
26 lines (22 loc) · 818 Bytes
/
conanfile.py
File metadata and controls
26 lines (22 loc) · 818 Bytes
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
from conan import ConanFile
from conan.tools.gnu import PkgConfigDeps
from conan.tools.meson import MesonToolchain
class SqliteVecCppDepsConan(ConanFile):
name = "sqlite-vec-cpp-deps"
version = "0.1"
settings = "os", "compiler", "build_type", "arch"
options = {"with_benchmarks": [True, False]}
default_options = {
"with_benchmarks": False,
"benchmark/*:with_libbacktrace": False,
"benchmark/*:with_libbpf": False,
"benchmark/*:with_perf_counters": False,
"benchmark/*:with_pthread": False,
}
def requirements(self):
self.requires("sqlite3/3.46.1")
if self.options.with_benchmarks:
self.requires("benchmark/1.9.4")
def generate(self):
MesonToolchain(self).generate()
PkgConfigDeps(self).generate()