libcryfs/conanfile.py

41 lines
1.2 KiB
Python
Raw Normal View History

from conans import ConanFile, CMake
class CryFSConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = [
"range-v3/0.9.1@ericniebler/stable",
2021-01-15 05:00:19 +01:00
"spdlog/1.8.2",
]
generators = "cmake"
default_options = {
# Need to disable boost-math because that doesn't compile for some reason on CI
"boost:without_math": True,
2019-11-02 20:49:20 +01:00
"boost:without_wave": True,
"boost:without_container": True,
"boost:without_exception": True,
"boost:without_graph": True,
"boost:without_iostreams": True,
"boost:without_locale": True,
"boost:without_log": 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_date_time": True,
"boost:without_atomic": True,
"boost:without_graph_parallel": True,
"boost:without_python": True,
"boost:without_test": True,
"boost:without_type_erasure": True,
}
def requirements(self):
if self.settings.os == "Windows":
self.requires("boost/1.69.0@conan/stable")
else:
self.requires("boost/1.65.1@conan/stable")