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.
Go to file Use this template
jakeg00dwin c73681b99c script for automating dependency and toolchain installs 2024-02-22 23:15:14 -08:00
build build dir and a placeholder file 2024-02-22 23:14:10 -08:00
toolchains empty toolchain dir and placeholder file 2024-02-22 23:14:42 -08:00
.gitignore Initial commit 2024-02-23 05:14:20 +00:00
CMakeLists.txt basic cmake file 2024-02-22 23:14:48 -08:00
LICENSE Initial commit 2024-02-23 05:14:20 +00:00
README.md readme info on template 2024-02-22 23:14:59 -08:00
setup.sh script for automating dependency and toolchain installs 2024-02-22 23:15:14 -08:00

README.md

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.