git clone git@github.com:google/googletest.git
cd googletest
cmake . && sudo make install
git submodule update --init
mkdir cmake-build-debug
cd cmake-build-debug/
cmake ..
make -j4 && ./Cplusplus_test
# Step 1: Install valgrind
sudo apt install valgrind
# Step 2:
cd cmake-build-debug/
cmake ..
make leak