C++ Generic Makefile for small/medium projects. Integrated unit_test_framework in sample Main.cpp. To use the unit_test_framework, uncomment TEST_MODE in line 42 of MakeFile
make
use this command to compile and linkmake clean
use command to clean object filesmake unittest unit=src/Logic.cpp
use this command to perform unit testing
IMPORTANT FOLDERS
- src - contains all the source code and corresponding header files
- inc - contains the common / custom headers (i.e debug headers)
- obj - contains the object files
- bin - contains the executable file
credits: https://github.com/eecs280staff/unit_test_framework for the unit_test_framework