-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconanfile.py
More file actions
29 lines (25 loc) · 771 Bytes
/
conanfile.py
File metadata and controls
29 lines (25 loc) · 771 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
from conan import ConanFile
from conan.tools.cmake import cmake_layout, CMake
class ZipsyncConan(ConanFile):
name = "zipsync"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "CMakeToolchain"
requires = [
"zlib/1.3.1",
"minizip/1.3.1",
"libcurl/8.6.0",
"doctest/2.4.11",
"blake2/20190724@zipsync",
"args/6.4.6@zipsync",
"libmicrohttpd/0.9.77",
]
def layout(self):
cmake_layout(self)
def configure(self):
self.options["minizip"].bzip2 = False
self.options["libcurl"].with_ssl = False
self.options["BLAKE2"].SSE = "SSE2"
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()