https://github.com/karshprime/template-cxx
C/C++ template with Copier
https://github.com/karshprime/template-cxx
Last synced: about 1 month ago
JSON representation
C/C++ template with Copier
- Host: GitHub
- URL: https://github.com/karshprime/template-cxx
- Owner: karshPrime
- License: apache-2.0
- Created: 2026-04-10T16:23:32.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-20T03:50:38.000Z (about 2 months ago)
- Last Synced: 2026-05-20T07:03:15.396Z (about 2 months ago)
- Language: C
- Size: 80.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Copier
This repository provides a [copier](https://copier.readthedocs.io/en/stable/)
template for creating C development environments. It offers a consistent and
reproducible setup across projects and makes it easy to apply improvements when
the template is updated.
### Prerequisites
Install the Copier command:
* **Quick option:** `uv tool install copier`
* **Documentation:** https://copier.readthedocs.io/en/stable
### Create New Project
Run the following command:
```bash
$ copier copy git@github.com:karshPrime/template-c path/to/project --trust
```
Answer the Copier prompts to configure the project.
* **Project Description:** Optional plain‑text description of the project.
* **Library Pack:** Optional selection of libraries to include in the project.
**Note:** The `--trust` option is required because the template runs `git`
commands.
## Project Features
* **Example application and module structure**: Includes a minimal command‑line
entry point (main.c) and a simple module layout.
* **Allows for setting more specific starting point**: With library packs, a
number of different templates are configured out of the box - setting generic
minimum setup required for the usecase.