2019-10-20 03:33:29 +02:00
|
|
|
from conans import ConanFile, CMake
|
|
|
|
|
|
|
|
class CryFSConan(ConanFile):
|
|
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
|
|
requires = [
|
2020-07-08 09:11:29 +02:00
|
|
|
"range-v3/0.11.0@ericniebler/stable",
|
2021-04-02 23:38:08 +02:00
|
|
|
"spdlog/1.8.5",
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost/1.75.0",
|
2019-10-20 03:33:29 +02:00
|
|
|
]
|
|
|
|
generators = "cmake"
|
|
|
|
default_options = {
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:system_no_deprecated": True,
|
|
|
|
"boost:asio_no_deprecated": True,
|
|
|
|
"boost:filesystem_no_deprecated": True,
|
|
|
|
"boost:without_atomic": False, # needed by boost thread
|
|
|
|
"boost:without_chrono": False, # needed by CryFS
|
|
|
|
"boost:without_container": False, # needed by boost thread
|
|
|
|
"boost:without_context": True,
|
|
|
|
"boost:without_contract": True,
|
|
|
|
"boost:without_coroutine": True,
|
|
|
|
"boost:without_date_time": False, # needed by boost thread
|
|
|
|
"boost:without_exception": False, # needed by boost thread
|
|
|
|
"boost:without_fiber": True,
|
|
|
|
"boost:without_filesystem": False, # needed by CryFS
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_graph": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_graph_parallel": True,
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_iostreams": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_json": True,
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_locale": True,
|
|
|
|
"boost:without_log": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_math": True,
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_mpi": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_nowide": True,
|
|
|
|
"boost:without_program_options": False, # needed by CryFS
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_python": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_random": True,
|
|
|
|
"boost:without_regex": True,
|
|
|
|
"boost:without_serialization": False, # needed by boost date_time
|
|
|
|
"boost:without_stacktrace": True,
|
|
|
|
"boost:without_system": False, # needed by CryFS
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_test": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_thread": False, # needed by CryFS
|
|
|
|
"boost:without_timer": True,
|
2019-11-02 20:49:20 +01:00
|
|
|
"boost:without_type_erasure": True,
|
2021-04-18 09:49:26 +02:00
|
|
|
"boost:without_wave": True,
|
2019-10-20 03:33:29 +02:00
|
|
|
}
|