Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 963 Bytes

Readme.md

File metadata and controls

53 lines (40 loc) · 963 Bytes

C project template

Needed tools

  • git
  • gcc
  • autotools (automake and autoconf)
  • libtool
  • make
  • lex/yacc
  • valgrind
  • cppcheck
  • astyle (manual build)
  • fortune

Build

Require autotools and libtools.

$ sudo dnf install autoconf automake libtool
$ ./bootstrap.sh
$ make
$ make check cppcheck
$ make help

Optional you can use bear to make compilation database. bear will create the compile_commands.json.

# From project root
$ make clean
$ bear -- make

Dependencies

Unit Testing

greatest

Protothreads (co-routines)

pt.h

Tools

  1. Doxygen
  2. Valgrind
  3. Cppcheck (use linux package)
  4. AStyle