Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Mac & Linux Install

Simon Ninon edited this page Oct 15, 2016 · 6 revisions

Mac & Linux Install

Requirement

  • C++11

Compiling and installing

The library is based on cmake for the compilation. In order to build the library, follow these steps:

# Clone the project
git clone https://github.com/Cylix/cpp_redis.git
# Go inside the the project directory
cd cpp_redis
# Create a build directory and move into it
mkdir build && cd build
# Generate the Makefile using CMake
cmake ..
# Build the library
make
# Install the library
make install

Then, you just have to include <cpp_redis/cpp_redis> in your source files and link the cpp_redis library with your project.