Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 2.12 KB

README.md

File metadata and controls

44 lines (26 loc) · 2.12 KB

Build Status badge Build status

conan-jsoncpp

Conan.io package for jsoncpp library

The packages generated with this conanfile can be found in conan.io.

Build packages

$ pip install conan_package_tools
$ python build.py

Upload packages to server

$ conan upload jsoncpp/1.8.0@theirix/stable --all

Reuse the packages

Basic setup

$ conan install jsoncpp/1.8.0@theirix/stable

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
jsoncpp/1.8.0@theirix/stable

[options]
jsoncpp:shared=true # false

[generators]
txt
cmake

Complete the installation of requirements for your project running:

conan install . 

Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.