add CPM
This commit is contained in:
parent
66a61bf7f2
commit
7da39ee9ba
1 changed files with 9 additions and 0 deletions
|
@ -119,6 +119,15 @@ If you are using [vcpkg](https://github.com/Microsoft/vcpkg/) on your project fo
|
|||
|
||||
If you are using [Conan](https://www.conan.io/) to manage your dependencies, merely add `nameof/x.y.z@neargye/stable` to your conan's requires, where `x.y.z` is the release version you want to use.
|
||||
|
||||
Alternatively, you can use something like [CPM](https://github.com/TheLartians/CPM) which is based on CMake's `Fetch_Content` module.
|
||||
|
||||
```cmake
|
||||
CPMAddPackage(
|
||||
NAME nameof
|
||||
GITHUB_REPOSITORY Neargye/nameof
|
||||
GIT_TAG 0.9.3 # Where `x.y.z` is the release version you want to use.
|
||||
)
|
||||
|
||||
## Compiler compatibility
|
||||
|
||||
* Clang/LLVM >= 5
|
||||
|
|
Loading…
Reference in a new issue