Skip to content

jgndev/c_dsa_templ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C DSA Template

This template is created to quickly stand up a new project for C that includes Unity Tests and CMake for builds.

Usage

git clone https://github.com/jgndev/c_dsa_templ your_dir_name

Project Setup

Run project setup to configure the project and create compile-commands.json for LSP support.

Running Tests

Add your tests to test/test_solution.c

Then you will cd into the build directory and run make.

cd build && \
make && \
./test_solution