mirror of
https://github.com/Neargye/magic_enum
synced 2026-06-08 12:00:02 +00:00
update readme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user