forked from greg7mdp/sparsepp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
28 lines (22 loc) · 770 Bytes
/
conanfile.py
File metadata and controls
28 lines (22 loc) · 770 Bytes
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conan import ConanFile, tools
from conan.tools.files import get,copy
import os
class SparseppConan(ConanFile):
name = "sparsepp"
version = "1.22"
description = "A fast, memory efficient hash map for C++"
license = "https://github.com/greg7mdp/sparsepp/blob/master/LICENSE"
exports_sources = "sparsepp/*"
no_copy_source = True
exports = ["LICENSE"]
package_type = "header-library"
def package(self):
copy(self, "*",
self.source_folder,
os.path.join(self.package_folder, "include"))
def package_id(self):
self.info.clear()
def package_info(self):
self.cpp_info.includedirs = [os.path.join(self.package_folder, "include")]