Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 793 Bytes

README.org

File metadata and controls

27 lines (20 loc) · 793 Bytes

Introduction

A collection of useful C++ libraries.

Install on Linux

Install cmake, g++, gcc, and libgflags-dev.

sudo apt install cmake g++ gcc libgflags-dev

Then clone the repository into directory $ENV{GIT_REPO}/cpplib. Here GIT_REPO is an environment variable (e.g., defined in .zshenv).

git clone --recursive https://github.com/zzjjzzgggg/cpplib.git

Tell cmake where to find the library. This requires another repository cmake.

git clone --recursive https://github.com:zzjjzzgggg/cmake.git

Then add following line in your project CMakeLists.txt.

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} $ENV{GIT_REPO}/cmake)