-
Notifications
You must be signed in to change notification settings - Fork 0
/
conanfile.py
executable file
·34 lines (30 loc) · 1013 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
31
32
33
34
from conan import ConanFile
from conan.tools import cmake
from Tools.zinet_utilities.platform_info import *
class ZinetConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = [
"gtest/1.15.0@",
"spdlog/1.9.2@",
"plf_colony/7.06@",
"glfw/3.4@",
"stb/cci.20240531@",
"pybind11/2.9.1@",
"nlohmann_json/3.10.5@",
"glm/0.9.9.5@",
"glslang/1.3.239.0@",
"spirv-tools/1.3.239.0@",
"shaderc/2023.6@",
"vulkan-memory-allocator/cci.20231120@"
]
generators = ["CMakeToolchain", "CMakeDeps"]
default_options = {
"gtest/*:shared": True,
"glfw/*:shared": True
}
if get_system() == SystemInfo.Linux:
default_options["glfw/*:with_wayland"] = True
def imports(self):
self.copy(pattern="*.dll", dst="bin", keep_path=False)
self.copy(pattern="*.dylib", dst="lib", keep_path=False)
self.copy(pattern="*.pdb", dst="bin", keep_path=False)