mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
Added build2 support information (#78)
This commit is contained in:
parent
ed2dbfd46c
commit
c5b5eea3bd
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
[](https://github.com/Neargye/magic_enum/releases)
|
||||
[](https://conan.io/center/magic_enum)
|
||||
[](https://github.com/microsoft/vcpkg/tree/master/ports/magic-enum)
|
||||
[](https://www.cppget.org/magic_enum?q=magic_enum)
|
||||
[](LICENSE)
|
||||
[](https://travis-ci.org/Neargye/magic_enum)
|
||||
[](https://ci.appveyor.com/project/Neargye/magic-enum-hf8vk/branch/master)
|
||||
|
|
@ -209,6 +210,9 @@ enum class Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
|
||||
* If you are using [Conan](https://www.conan.io/) to manage your dependencies, merely add `magic_enum/x.y.z` to your conan's requires, where `x.y.z` is the release version you want to use.
|
||||
|
||||
* If you are using [Build2](https://build2.org/) to build and manage your dependencies, add `depends: magic_enum ^x.y.z`
|
||||
to the manifest file where `x.y.z` is the release version you want to use (version 0.7.2+ is supported). You can then import the target using `magic_enum%lib{magic_enum}`.
|
||||
|
||||
* Alternatively, you can use something like [CPM](https://github.com/TheLartians/CPM) which is based on CMake's `Fetch_Content` module.
|
||||
|
||||
```cmake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue