A collection of useful C++ libraries.
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)