- C++ compiler - needs to support C++17 standard
- CMake 3.15+
The rest prerequisites (such as development libraries) can be found in the packages file in the form of the apt package manager package names.
- Clone the project.
git clone git@github.com:chernetskyi/cpp-template.git
- Install required libraries. On Ubuntu:
sed 's/\r$//' apt_packages.txt | sed 's/#.*//' | xargs sudo apt-get install -y
- Build.
cmake -G"Unix Makefiles" -Bbuild cmake --build build
add [a] [b]If less than two numbers provided, zeroes are used instead. If more - an error occurs.
Help flags -h/--help support is available.