JesseCodeBones / SolarHeater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solar Heater Simulator

build (ubuntu)

install gtest

apt-get clean && apt-get update -y && apt-get install wget libgtest-dev python3 ninja-build gcovr  clang-tidy clang-format curl cmake build-essential nodejs npm -y --no-install-recommends
cd /usr/src/gtest && cmake CMakeLists.txt && make && cd ./lib && cp *.a /usr/lib && ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a

build and execute

cmake -B build -DENABLE_CLANG_TIDY=1 -DENABLE_WERROR=1 -G Ninja && cmake --build build --parallel --target solar_heater && ./build/solar_heater

run test

cmake --build build --parallel --target cov_html

coverage report path

./build/cov_html/index.html

About


Languages

Language:CMake 73.8%Language:C++ 24.8%Language:Dockerfile 1.4%