nameof_module/conanfile.py

33 lines
907 B
Python
Raw Normal View History

2019-07-27 16:53:03 +00:00
# -*- coding: utf-8 -*-
2019-08-24 15:31:42 +00:00
from conans import ConanFile
2019-07-27 16:53:03 +00:00
class NameofConan(ConanFile):
name = 'nameof'
version = '0.9.0'
2019-07-31 20:14:32 +00:00
description = 'Header-only C++17 library provides nameof macros and functions to simply obtain the name of a variable, type, function, macro, and enum.'
2019-07-27 16:53:03 +00:00
topics = (
'conan',
'nameof',
'cplusplus',
'enum-to-string',
'serialization',
'reflection',
'header-only',
2019-07-27 16:53:03 +00:00
'compile-time'
)
url = 'https://github.com/Neargye/nameof'
2019-08-24 15:31:42 +00:00
homepage = 'https://github.com/Neargye/nameof'
2019-07-27 16:53:03 +00:00
author = 'Daniil Goncharov <neargye@gmail.com>'
license = 'MIT'
2019-08-24 15:31:42 +00:00
exports_sources = ["include/*", "LICENCE"]
exports = ["LICENSE"]
no_copy_source = True
2019-07-27 16:53:03 +00:00
def package(self):
2019-08-24 15:31:42 +00:00
self.copy("include/*")
self.copy("LICENSE", dst="licenses")
def package_id(self):
self.info.header_only()