mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
update readme
This commit is contained in:
parent
409e9e1afd
commit
91b36336cb
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
```
|
||||
|
||||
[](https://github.com/Neargye/magic_enum/releases)
|
||||
[](https://bintray.com/neargye/conan-packages/magic_enum:neargye)
|
||||
[](https://github.com/microsoft/vcpkg/tree/master/ports/magic-enum)
|
||||
[](LICENSE)
|
||||
[](https://travis-ci.org/Neargye/magic_enum)
|
||||
|
|
@ -250,6 +251,10 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
|
||||
You should add the required file [magic_enum.hpp](include/magic_enum.hpp).
|
||||
|
||||
If you are using [vcpkg](https://github.com/Microsoft/vcpkg/) on your project for external dependencies, then you can use the [magic_enum package](https://github.com/microsoft/vcpkg/tree/master/ports/magic-enum).
|
||||
|
||||
If you are using [Conan](https://www.conan.io/) to manage your dependencies, merely add `magic_enum/x.y.z@neargye/stable` to your `conanfile.py`'s requires, where `x.y.z` is the release version you want to use.
|
||||
|
||||
## Compiler compatibility
|
||||
|
||||
* Clang/LLVM >= 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue