Simple C program built by CMake
- src/program.c - module with
main()
function, meant to be entry point of an executable - src/module.c - utility module, meant to provide interfaces for main module
- test/test_*.c[cmocka branch] - test modules for modules in src/ directory
- cmake branch - basic project with no fancy features - just sources
- cmocka branch - same as cmake plus unit tests and mocking with help of cmocka framework
- getopt branch - same as cmake plus CLI interface using
getopt()
function - install branch - same as cmake plus allows to install program via
make install