-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
31 lines (23 loc) · 814 Bytes
/
conanfile.py
File metadata and controls
31 lines (23 loc) · 814 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
27
28
29
30
31
from conan import ConanFile
from conan.tools.cmake import cmake_layout, CMakeToolchain
class ConanApplication(ConanFile):
package_type = "application"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps"
def layout(self):
cmake_layout(self)
def generate(self):
tc = CMakeToolchain(self)
tc.user_presets_path = False
tc.generate()
def requirements(self):
# Linear algebra library
self.requires("eigen/3.4.0")
# Fast formatting library
self.requires("fmt/9.1.0")
# JSON library
self.requires("nlohmann_json/3.11.3")
# Boost C++ libraries
self.requires("boost/1.83.0")
# Compression library
self.requires("zlib/1.3.1")