-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconanfile.py
30 lines (23 loc) · 950 Bytes
/
conanfile.py
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
from conan import ConanFile
from conan.tools.microsoft.visual import is_msvc
class Archimedes(ConanFile):
name = "Archimedes"
settings = "build_type"
def requirements(self):
self.requires("glfw/3.3.8")
self.requires("glm/0.9.9.8")
self.requires("assimp/5.2.2")
self.requires("spdlog/1.12.0")
self.requires("gtest/1.13.0")
self.requires("stb/cci.20230920", override=True)
self.requires("draco/1.5.6", override=True)
# Vulkan SDK
self.requires("volk/1.3.268.0")
self.requires("vulkan-headers/1.3.268.0", override=True)
self.requires("vulkan-memory-allocator/cci.20231120")
# SPIRV (Shader compiler)
self.requires("shaderc/2023.6") # waiting for conan repo update
def configure(self):
if is_msvc(self, True):
self.options["spdlog/1.12.0"].use_std_fmt = True
generators = "CMakeDeps", "CMakeToolchain"