A template for C and CPP programming that makes use of the cmocka unit testing framework in addition to the CMAKE build system. It's focused on wide compatibility with multiple systems and setup for vim usage.
Find a file Use this template
2024-02-29 22:35:06 -08:00
build
cmake/cmocka-1.1.7 A copy of the newest cmocka release 1.1.7 2024-02-22 23:16:50 -08:00
docs empty placeholder dir 2024-02-22 23:15:51 -08:00
inc
src
tests
toolchains
.gitignore
CMakeLists.txt
LICENSE
README.md
setup.sh added a simple echo command to the shell function 2024-02-29 22:25:06 -08:00
tdd.sh added in a 6th option in the menu for the tdd.sh. The new function is for adding modules to the project. 2024-02-29 22:35:06 -08:00

cmake-cmocka-template

A template for C and CPP programming that makes use of the cmocka unit testing framework in addition to the CMAKE build system.

Requirements

Resources

Contributions

Directory Overview

It's focused on wide compatibility with multiple systems and setup for vim usage.. ├── build ├── CMakeLists.txt ├── docs ├── inc ├── LICENSE ├── README.md ├── setup.sh ├── src │   ├── CMakeLists.txt │   └── main.c ├── tdd.sh └── tests └── CMakeLists.txt

5 directories, 8 files

Scripts

There are two scripts setup inside the project directory:

tdd.sh Uesd to preform the needed commands to build, test and debug the project.

setup.sh Used to install the projects dependencies and automate needed setup. Also removes example code when requested.