Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 878 Bytes

GettingStarted.md

File metadata and controls

36 lines (29 loc) · 878 Bytes

Getting started with restc-cpp

Note that the restc-cpp wiki on github contains up to date build instructions for different platforms. The instructions below are generic.

Clone the repository

git clone https://github.com/jgaa/restc-cpp.git

Initialize the submodules

cd restc-cpp
git submodule init
git submodule update

Compile the library and tests

mkdir dbuild
cd dbuild
cmake ..
make
cd ..

At this point, you can start using the library in your own C++ projects. You need to specify to your project the paths to where you have the incluide/restc-cpp include directory, the externals/rapidjson/include and the library itself (./lib/librestc-cpp[D]. The 'D' is present in the library name if it is compiled for debugging.

Embedding restc-cpp's cmake file in your cmake project

TBD