-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconanfile.py
63 lines (57 loc) · 2.06 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Requires: conan 1.21.0 or higher
# Note: Using an older version of conan yields a problem with
# qt's bzip2 requirement
# Reference: /~https://github.com/conan-io/conan-center-index/issues/533
#
# Building:
# $ conan install .. --build missing -s build_type=(Debug|Release)
from conans import ConanFile, CMake
class OwlConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = (
"boost/1.71.0@conan/stable",
"libcurl/7.66.0@bincrafters/stable",
"spdlog/1.2.1@bincrafters/stable",
"libhunspell/1.7.0@owl/stable",
"tidy-html5/5.7.28@owl/stable",
"luadist/5.2.3@owl/stable",
"rang/3.1@owl/stable"
)
generators = "cmake"
default_options = {
"boost:shared":False,
"boost:without_test":False,
"boost:without_filesystem":False,
"boost:without_stacktrace":False,
"boost:without_system":False,
"boost:without_math":True,
"boost:without_wave":True,
"boost:without_container":True,
"boost:without_contract":True,
"boost:without_exception":True,
"boost:without_graph":True,
"boost:without_iostreams":True,
"boost:without_locale":True,
"boost:without_log":True,
"boost:without_program_options":True,
"boost:without_random":True,
"boost:without_regex":True,
"boost:without_mpi":True,
"boost:without_serialization":True,
"boost:without_coroutine":True,
"boost:without_fiber":True,
"boost:without_context":True,
"boost:without_timer":True,
"boost:without_thread":True,
"boost:without_chrono":True,
"boost:without_date_time":True,
"boost:without_atomic":True,
"boost:without_graph_parallel":True,
"boost:without_python":True,
"boost:without_type_erasure":True
}
# def requirements(self):
# if self.settings.os == "Windows":
# self.requires("pdcurses/3.9@zethon/stable")
# else:
# self.requires("ncurses/6.1@conan/stable")