mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 14:09:02 +07:00
58 lines
1.9 KiB
Markdown
58 lines
1.9 KiB
Markdown
# meta.hpp
|
|
|
|
> C++17 tiny reflection library
|
|
|
|
[![linux][badge.linux]][linux]
|
|
[![darwin][badge.darwin]][darwin]
|
|
[![windows][badge.windows]][windows]
|
|
[![codecov][badge.codecov]][codecov]
|
|
[![language][badge.language]][language]
|
|
[![license][badge.license]][license]
|
|
|
|
[badge.darwin]: https://img.shields.io/github/workflow/status/BlackMATov/meta.hpp/darwin/main?label=Xcode&logo=xcode
|
|
[badge.linux]: https://img.shields.io/github/workflow/status/BlackMATov/meta.hpp/linux/main?label=GCC%2FClang&logo=linux
|
|
[badge.windows]: https://img.shields.io/github/workflow/status/BlackMATov/meta.hpp/windows/main?label=Visual%20Studio&logo=visual-studio
|
|
[badge.codecov]: https://img.shields.io/codecov/c/github/BlackMATov/meta.hpp/main?logo=codecov
|
|
[badge.language]: https://img.shields.io/badge/language-C%2B%2B17-yellow
|
|
[badge.license]: https://img.shields.io/badge/license-MIT-blue
|
|
|
|
[darwin]: https://github.com/BlackMATov/meta.hpp/actions?query=workflow%3Adarwin
|
|
[linux]: https://github.com/BlackMATov/meta.hpp/actions?query=workflow%3Alinux
|
|
[windows]: https://github.com/BlackMATov/meta.hpp/actions?query=workflow%3Awindows
|
|
[codecov]: https://codecov.io/gh/BlackMATov/meta.hpp
|
|
[language]: https://en.wikipedia.org/wiki/C%2B%2B17
|
|
[license]: https://en.wikipedia.org/wiki/MIT_License
|
|
|
|
[meta]: https://github.com/BlackMATov/meta.hpp
|
|
|
|
## Requirements
|
|
|
|
- [gcc](https://www.gnu.org/software/gcc/) **>= 7**
|
|
- [clang](https://clang.llvm.org/) **>= 5.0**
|
|
- [msvc](https://visualstudio.microsoft.com/) **>= 2017**
|
|
|
|
## Installation
|
|
|
|
[meta.hpp][meta] is a header-only library. All you need to do is copy the headers files from `headers` directory into your project and include them:
|
|
|
|
```cpp
|
|
#include "meta.hpp/meta.hpp"
|
|
```
|
|
|
|
Also, you can add the root repository directory to your [cmake](https://cmake.org) project:
|
|
|
|
```cmake
|
|
add_subdirectory(external/meta.hpp)
|
|
target_link_libraries(your_project_target meta.hpp)
|
|
```
|
|
|
|
## Examples
|
|
|
|
> coming soon
|
|
|
|
## API
|
|
|
|
> coming soon
|
|
|
|
## [License (MIT)](./LICENSE.md)
|