Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
waf
 
 
 
 

README.rst

bourne

https://travis-ci.org/steinwurf/bourne.svg?branch=master

https://raw.githubusercontent.com/steinwurf/bourne/master/bourne.gif

A simple c++11 json reader and writer.

Usage

Usage examples are located in the examples folder.

Build

Fetch the sources:

git clone https://github.com/steinwurf/bourne
cd bourne

We use the waf build system to build the bourne static library. We have some additional waf tools which can be found at waf.

To configure and build bourne, run the following commands:

python waf configure
python waf build
python waf install --destdir=/tmp

The final install step will create a folder containing all the nessecary files needed to use the library (e.g. static library, headers etc.). You can change the output folder by passing a different path to --destdir:

Use as Dependency in CMake

To depend on this project when using the CMake build system, add the following in your CMake build script:

add_subdirectory("/path/to/bourne" bourne)
target_link_libraries(<my_target> steinwurf::bourne)

Where <my_target> is replaced by your target.

Credit

The code for this library have been inspired by the SimpleJSON library.

You can’t perform that action at this time.