https://github.com/stiffstream/json_dto-conan
Conan package for json_dto library
https://github.com/stiffstream/json_dto-conan
Last synced: about 1 year ago
JSON representation
Conan package for json_dto library
- Host: GitHub
- URL: https://github.com/stiffstream/json_dto-conan
- Owner: Stiffstream
- License: bsd-3-clause
- Created: 2019-05-11T14:18:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T07:59:14.000Z (almost 6 years ago)
- Last Synced: 2024-12-28T11:28:18.065Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json_dto-conan
Conan package for json_dto library
# How To Use
## Installing via Conan
To use json_dto via Conan the following steps are necessary:
1. Add the corresponding remote to your conan:
```bash
conan remote add stiffstream https://api.bintray.com/conan/stiffstream/public
```
2. Add json_dto to your `conanfile.txt`/`conanfile.py`:
```
[requires]
json-dto/0.2.8@stiffstream/stable
```
3. Install dependencies for your project:
```bash
conan install PROJECT_PATH --build=missing
```
## Adding json_dto to your CMakeLists.txt
One of the following approaches can be used:
```cmake
# 1. Find and add dependency.
find_package(json_dto CONFIG REQUIRED)
target_link_libraries(your_target json-dto::json-dto)
# 2. Setting up dependencies with Conan
target_link_libraries(your_target ${CONAN_LIBS})
```
# Feedback
If you have any questions about json_dto or its Conan package
feel free to ask us on `info@stiffstream.com`.