-
-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy pathconanfile.py
More file actions
35 lines (31 loc) · 1.41 KB
/
conanfile.py
File metadata and controls
35 lines (31 loc) · 1.41 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
# You can search the availability of a certain library here, https://conan.io/center/
# After adding the library, you can add it to the target using
#
# - `CONAN_PKG::library-name` (if you use this, you don't need to add the header files)
# - or ${CONAN_LIBS_LIBRARY-name} (it needs to be upper case)
#
# The header files can be added to a target using ${CONAN_INCLUDE_DIRS_LIBRARY-NAME}
from conan import ConanFile
class JaspConanConfig(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
default_options = {"brotli*:shared": True, "sqlite3*:max_column": 32767}
def requirements(self):
self.requires("libiconv/1.18", force=True)
self.requires("boost/1.86.0")
self.requires("zlib/1.3.1")
self.requires("libarchive/3.8.1")
self.requires("zstd/1.5.7")
self.requires("jsoncpp/1.9.6")
self.requires("openssl/3.4.1")
self.requires("bison/3.7.6")
self.requires("brotli/1.1.0")
self.requires("sqlite3/3.49.1")
self.requires("gmp/6.3.0")
self.requires("mpfr/4.2.1")
self.requires("freexl/2.0.99.cci.20260225")
# librdata is not available for Windows platforms on conan-center yet
if self.settings_build.os == "Macos":
self.requires("librdata/0.0.0.cci.20231003")
def build_requirements(self):
self.tool_requires("cmake/3.30.0")