Coder Social home page Coder Social logo

json-conan's Introduction

json-conan

badge Conan package for json library.

The packages generated from this conanfile can be found on conan.io.

See conan docs for detailed instructions in how to install conan and use it in your project.

For instructions about the library see the repository.

NOTE: All credits about the library go to its authors. This package is only intended to help its use with conan (i am just a user of both). Feel free to use or change it. You can also open an issue or send a pull-request.

Quickstart

You can use the 'test_package' as a sample in how to use this library with conan or follow instructions below.

Install conan

Detailed instructions here

Using pip:

pip install conan

Create conan project

You can create a conanfile.txt like this:

[requires]
json/1.0.0@paulobrizolara/stable
#you can include other libraries (search in conan.io)

[options]

[generators]
#see http://docs.conan.io/en/latest/integrations.html for
# others default generators. You can also search in conan.io
# for 'community' generators or make your own.
cmake

Another options is use a conanfile.py (that allows you use python and build your project from conan). More info here.

from conans import ConanFile, CMake

class PackageTest(ConanFile):
    settings = "os", "compiler", "build_type", "arch"

    # comma separated list of dependencies
    requires = "json/1.0.0@paulobrizolara/stable"
    generators = "cmake"
    default_options = ""

Install dependencies

conan install

Integrate in your project

Depends on the generator (and build system) you are using. See integrations for examples and instructions.

json-conan's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.