mirror of https://github.com/QMCPACK/qmcpack.git
30 lines
966 B
Python
30 lines
966 B
Python
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 = []
|