This library is a basic wrapper around libcurl and yajl that attempts to provide a more generic interface to couchdb, mainly communicating via url targets rather than explicit method calls. More to come...
mkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make test [optional]
A typical installation will look like (adapated from the YAJL installation instructions):
- Click Start > Programs > Microsoft Visual Studio > Visual Studio Tools > Visual Studio Command Prompt for your version of Visual Studio
This starts up a Visual studio command prompt. You can check if the compiler
is in path by typing cl /?
at the prompt to check.
-
cd C:\path\to\pillowtalk\source\
-
mkdir build
-
cd build
-
cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..
-
nmake
You must have yajl and libcurl installed, and the .dll, .lib, and header files installed where cmake can find them. Support for continuous changes feeds requires pthreads. This has been tested with the pthread-win32 distribution (http://sourceware.org/pthreads-win32/).
Tests may be run by typing make test
. In addition, the code in the
test
directory provides some examples for interacting with this library.