-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconanfile.py
29 lines (24 loc) · 908 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
28
29
from conans import ConanFile
from conans import CMake
class Cis1Tpl(ConanFile):
name = "cis1_tpl"
version = "0.0.3"
description = "TMP helpers and reflection."
author = "MokinIA <[email protected]>"
settings = "os", "arch", "compiler", "build_type"
generators = "cmake"
exports = []
exports_sources = ["CMakeLists.txt", "include/*", "src/*"]
requires = ("boost_system/1.69.0@bincrafters/stable",
"boost_asio/1.69.0@bincrafters/stable",
"rapidjson/1.1.0@bincrafters/stable")
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package(self):
self.copy("*.h", dst="include", src="include")
self.copy("libcis1_tpl.a", dst="lib", src="lib")
self.copy("libcis1_tpl.lib", dst="lib", src="lib")
def package_info(self):
self.cpp_info.libs = ["cis1_tpl"]