Skip to content

slaskawi/cpp-client

 
 

Repository files navigation

C++ Hot Rod Client

C++ client for Infinispan, over the [Hot Rod] (https://docs.jboss.org/author/display/ISPN/Hot+Rod+Protocol) wire protocol. Released under Apache License, Version 2.0.

Documentation

For more information, please refer to the documentation of this client library.

Build

Build prerequisites:

  • CMake 2.8
  • C++03 plus shared_ptr TR1 support.
  • Infinispan server distribution (located via JBOSS_HOME or cmake directive)
  • Java (any version compatible with the Infinispan distribution)
  • Python 2.6 or newer

optional: Doxygen

Components needed to use swig tests:

On Linux, use the package manager for your distribution to install the necessary packages. You may have to point to a special repository, such as EPEL, to get CMake 2.8.

On Windows, Visual Studio 2008 + SP1, or any newer version, is required. You can obtain Windows installable distributions of other needed software from:

To build (where "srcdir" is the directory containg this README):

os_make_directory my_build  [arbitrary location]
cd my_build
cmake [-G <generator>] [-DHOTROD_JBOSS_HOME=/path/to/ispn/dist] path/to/srcdir
cmake --build . [--config <configuration>]
ctest [-V] [-C <configuration>]
cpack [-G <cpack_generator>] [-C <configuration>]

On windows platforms:

  • to build the 64bit binaries you need to specify a 64bit generator using the -G cmake flag (e.g. -G "Visual Studio 12 Win64").
  • you can specify a custom configuration (e.g. Debug/Release/RelWithDebInfo...) by passing the --config flag during the build phase (you will need to pass the same configuration to ctest and cpack using the -C flag).

Please check the cmake/ctest/cpack documentation for details.

Platforms with makefiles and Valgrind may have additional targets:

make test
make memtest
make memtestv

About

C++ client for Infinispan, over the Hot Rod wire protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published