This template is created to quickly stand up a new project for C that includes Unity Tests and CMake for builds.
git clone https://github.com/jgndev/c_dsa_templ your_dir_name
Run project setup to configure the project and create compile-commands.json
for LSP support.
Add your tests to test/test_solution.c
Then you will cd
into the build
directory and run make
.
cd build && \
make && \
./test_solution