Add package manager info
This commit is contained in:
parent
a01ac3705d
commit
e7c2e9c8fc
23
README.md
23
README.md
@ -31,6 +31,8 @@ and Windows including MinGW and Cygwin environments. The goal: Make stack traces
|
|||||||
- [System-Wide Installation](#system-wide-installation)
|
- [System-Wide Installation](#system-wide-installation)
|
||||||
- [Local User Installation](#local-user-installation)
|
- [Local User Installation](#local-user-installation)
|
||||||
- [Package Managers](#package-managers)
|
- [Package Managers](#package-managers)
|
||||||
|
- [Conan](#conan)
|
||||||
|
- [Vcpkg](#vcpkg)
|
||||||
- [Platform Logistics](#platform-logistics)
|
- [Platform Logistics](#platform-logistics)
|
||||||
- [Static Linking](#static-linking)
|
- [Static Linking](#static-linking)
|
||||||
- [Library Internals](#library-internals)
|
- [Library Internals](#library-internals)
|
||||||
@ -446,6 +448,27 @@ g++ main.cpp -o main -g -Wall -I$HOME/wherever/include -L$HOME/wherever/lib -lcp
|
|||||||
|
|
||||||
### Package Managers
|
### Package Managers
|
||||||
|
|
||||||
|
#### Conan
|
||||||
|
|
||||||
|
Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace.
|
||||||
|
```
|
||||||
|
[requires]
|
||||||
|
cpptrace/0.2.1
|
||||||
|
[generators]
|
||||||
|
CMakeDeps
|
||||||
|
CMakeToolchain
|
||||||
|
[layout]
|
||||||
|
cmake_layout
|
||||||
|
```
|
||||||
|
```cmake
|
||||||
|
# ...
|
||||||
|
find_package(cpptrace REQUIRED)
|
||||||
|
# ...
|
||||||
|
target_link_libraries(YOUR_TARGET cpptrace::cpptrace)
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Vcpkg
|
||||||
|
|
||||||
Coming soon
|
Coming soon
|
||||||
|
|
||||||
### Platform Logistics
|
### Platform Logistics
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user