Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k4zoku/c-temp
Template for C project, not to be confused with template in CPP
https://github.com/k4zoku/c-temp
build c cross-platform make makefile project template
Last synced: about 1 month ago
JSON representation
Template for C project, not to be confused with template in CPP
- Host: GitHub
- URL: https://github.com/k4zoku/c-temp
- Owner: K4zoku
- License: mit
- Created: 2024-11-29T11:33:12.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-30T15:01:16.000Z (about 1 month ago)
- Last Synced: 2024-11-30T15:30:53.834Z (about 1 month ago)
- Topics: build, c, cross-platform, make, makefile, project, template
- Language: Makefile
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template
A template for C library project.
## Features
- [x] Recursive source file search.
- [x] Build profiles for debug and release.
- [x] Cross-platform support.
- [x] Unit test support. (Unit test framework not included)
- [x] Run tests in parallel with `make -j`.
- [x] Documentation support. (Doxide)
- [x] Experimental code coverage support. (Doxide with gcov/llvm-cov)
- [x] 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
```