Template for quickly setting up a cmake
based C++ project
Update submodules
git submodule update --init
cmake
-sudo apt-get install cmake
gcc/g++
-sudo apt-get install build-essential
- Create
build
directory and runcmake
mkdir build
cd build
cmake ..
-
Build the code
make
-
Run tests
cd ../bin/test_all