Go to file
2023-10-09 10:16:02 -05:00
src Initial commit 2023-10-09 10:16:02 -05:00
test Initial commit 2023-10-09 10:16:02 -05:00
.gitignore Initial commit 2023-10-09 10:16:02 -05:00
CMakeLists.txt Initial commit 2023-10-09 10:16:02 -05:00
LICENSE Initial commit 2023-10-09 10:16:02 -05:00
README.md Initial commit 2023-10-09 10:16:02 -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

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/somethingTest

Simply run the tests using:

build/bin/somethingTest