Go to file Use this template
2023-10-24 15:00:14 -05:00
src Added template stuff 2023-09-15 17:16:41 -05:00
test Added test structure and Unity usage 2023-09-15 17:12:51 -05:00
.gitignore Added test structure and Unity usage 2023-09-15 17:12:51 -05:00
CMakeLists.txt Added template stuff 2023-09-15 17:16:41 -05:00
LICENSE Initial commit 2023-09-15 17:08:34 -05:00
README.md Update 'README.md' 2023-10-24 15:00:14 -05:00

cpp-unity-template

Compiling the project

Prerequisites

  • C++11

In order to compile the project, simply run these two commands:

cmake -B build -S .
cmake --build build

Running the Project

The program should now be compiled at build/bin/something

Simply run the program using:

build/bin/something

Testing the Project

Prerequisites

In order to compile the tests for the project, simply run these two commands:

cmake -DCMAKE_BUILD_TYPE=Debug -B build -S .
cmake --build build

The program should now be compiled at build/bin/tests

Simply run the tests using:

build/bin/tests