martin-olivier / CppTemplate

C++ project template that uses CMake / Google Test / Github Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CppTemplate

⚠️ Requirement

💻 Usage

🚀 Clone repository

git clone https://github.com/martin-olivier/CppTemplate

🔧 Setup repository

python3 setup.py

🔨 Build

Using Unix Makefile:

# to build the program
make
./binary

# to build the tests
make tests
./unit_tests

Using CMake:

# to build the program
cmake . -B build
cmake --build build
./binary

# to build the tests
cmake . -B build_tests -DUNIT_TESTS=ON
cmake --build build_tests
./unit_tests

👤 Authors

About

C++ project template that uses CMake / Google Test / Github Actions


Languages

Language:CMake 48.4%Language:Python 39.7%Language:Makefile 7.1%Language:C++ 4.9%