47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
from conan import ConanFile
|
|
from conan.tools.cmake import cmake_layout
|
|
|
|
|
|
class MIKOM(ConanFile):
|
|
name = "HyperMatrix"
|
|
version = "0.0.0"
|
|
settings = ["os", "compiler", "build_type", "arch"]
|
|
author = "HyperWinX"
|
|
requires = [
|
|
"gtest/1.14.0",
|
|
"boost/1.87.0",
|
|
"spdlog/1.17.0",
|
|
"argparse/3.2",
|
|
"nlohmann_json/3.12.0",
|
|
"eternal/1.0.1",
|
|
"fmt/12.1.0",
|
|
"protobuf/5.27.0",
|
|
"gzip-hpp/0.1.0",
|
|
"openssl/3.1.4",
|
|
"libiconv/1.17",
|
|
"icu/73.2",
|
|
"libpqxx/8.0.1"
|
|
]
|
|
generators = ["CMakeToolchain", "CMakeDeps"]
|
|
default_options = {
|
|
"boost/*:without_test": True,
|
|
"boost/*:with_locale": True,
|
|
"boost/*:with_icu": True,
|
|
"grpc/*:csharp_ext": False,
|
|
"grpc/*:csharp_plugin": False,
|
|
"grpc/*:node_plugin": False,
|
|
"grpc/*:objective_c_plugin": False,
|
|
"grpc/*:php_plugin": False,
|
|
"grpc/*:python_plugin": False,
|
|
"grpc/*:ruby_plugin": False,
|
|
"grpc/*:otel_plugin": False
|
|
}
|
|
|
|
def build_requirements(self):
|
|
self.tool_requires("protobuf/5.27.0")
|
|
self.tool_requires("grpc/1.72.0")
|
|
|
|
|
|
def layout(self) -> None:
|
|
cmake_layout(self)
|