C++ Boilerplate using CMake, Boost, OpenCV, Gcov, GCOVR, Cppcheck and GTest
- CMake (3.16.3)
- Boost (1.71.0)
- OpenCV (4.2.0)
- g++/Gcov (9.4.0)
- GCOVR (7.2)
- Cppcheck (1.90)
- GTest (1.11.0)
- Ninja (1.10.0)
sudo apt install build-essential libboost-all-dev libopencv-dev cmake ninja-build cppcheck
pip install gcovr
cmake -S . -B build -G Ninja
Need
Generate
step
cd build
cmake --build . --target all
Need
Generate
,Build
step
cd build
ctest -j2 --output-on-failure
Need
Generate
,Build
,Test
step
cd build
cmake --build . --target test1_cov