Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 919 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 919 Bytes

Template

A template for C library project.

Features

  • Recursive source file search.
  • Build profiles for debug and release.
  • Cross-platform support.
  • Unit test support. (Unit test framework not included)
  • Run tests in parallel with make -j.
  • Documentation support. (Doxide)
  • Experimental code coverage support. (Doxide with gcov/llvm-cov)
  • Dependency management. (Configuring the LDFLAGS and LDLIBS is enough for most cases)

Project Structure

.make/           # Makefile templates
build/           # Build output directory
  bin/           # Executable output directory
  lib/           # Library output directory
  obj/           # Object file output directory
  test/          # Unit test output directory
docs/            # Documentation files
include/         # Public header files
src/             # Source files
test/            # Unit test files