-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconanfile.py
29 lines (25 loc) · 966 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 conan import ConanFile
from conan.tools.files import copy
class MultiConan(ConanFile):
name = "b-multi"
version = "0.80.1"
homepage = "https://gitlab.com/correaa/boost-multi"
description = "Multidimensional array access to contiguous or regularly contiguous memory. (Not an official Boost library)"
topics = (
"array",
"multidimensional",
"library",
)
license = "Boost"
url = "https://gitlab.com/correaa/boost-multi"
# No settings/options are necessary, this is header only
exports_sources = "include/*"
no_copy_source = True
def package(self):
# This will also copy the "include" folder
copy(self, "*.hpp", self.source_folder, self.package_folder)
def package_info(self):
# For header-only packages, libdirs and bindirs are not used
# so it's recommended to set those as empty.
self.cpp_info.bindirs = []
self.cpp_info.libdirs = []