A template for C project using cmake.
Make bootstrapping a C project easier.
mkdir build && cd -
cmake .. && make -j
Unit tests are built on CMocka.
To run tests simply run:
make test
Fuzzing requires clang compiler:
export CXX=/usr/bin/clang++
export CC=/usr/bin/clang
To build:
mkdir build && cd -
cmake -DFUZZ_TEST=ON .. && make -j
Then simply run:
./bin/fuzz_my_project
Press Use this template
This project is licensed under the MIT License - see the LICENSE.md file for details