Skip to content
/ CppTemplate Public template

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

Notifications You must be signed in to change notification settings

martin-olivier/CppTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks