Skip to main content

Other build systems

CI Fuzz generally supports several other build systems for C/C++ by allowing you to configure build-commands that enable your project to build the fuzz tests properly.

info

C/C++ projects on Windows are only supported with CMake.

Initialize your project

Initialize CI Fuzz in the root directory of your project with the following command:

cifuzz init

This command generates a configuration file for your project: cifuzz.yaml. Set the build-system option to other and provide in the build-command option a command to successfully build fuzz tests in your project.

The following is an example for a project with a Makefile:

cifuzz.yaml
build-system: other
build-command: make $FUZZ_TEST

Example projects