Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mac & Linux Install

space55 edited this page Jan 25, 2020 · 3 revisions

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/cpp-redis/cpp_redis.git
# Go inside the project directory
cd cpp_redis
# Get tacopie submodule
git submodule init && git submodule update
# Create a build directory and move into it
mkdir build && cd build
# Generate the Makefile using CMake
cmake .. -DCMAKE_BUILD_TYPE=Release
# 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 and tacopie libraries with your project.

Customizing compilation and installation

Please refer to this page of the wiki.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.