forked from ydb-platform/ydb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conanfile.py
27 lines (19 loc) · 882 Bytes
/
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
from conan import ConanFile
class App(ConanFile):
settings = "os", "compiler", "build_type", "arch"
default_options = {"libiconv:shared": "True"}
def requirements(self):
self.requires("libiconv/1.15")
def build_requirements(self):
self.tool_requires("bison/3.8.2")
self.tool_requires("m4/1.4.19")
self.tool_requires("ragel/6.10")
self.tool_requires("yasm/1.3.0")
generators = "cmake_find_package", "cmake_paths"
def imports(self):
self.copy(pattern="*yasm*", src="bin", dst="./bin")
self.copy(pattern="bison*", src="bin", dst="./bin/bison/bin")
self.copy(pattern="m4*", src="bin", dst="./bin/m4/bin")
self.copy(pattern="ragel*", src="bin", dst="./bin")
self.copy(pattern="ytasm*", src="bin", dst="./bin")
self.copy(pattern="*", src="res", dst="./bin/bison/res")