Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lchsk/cookiecutter-cpp-project
Cookiecutter template for C++ projects
https://github.com/lchsk/cookiecutter-cpp-project
c-plus-plus cookiecutter cookiecutter-c-plus-plus cookiecutter-cpp cookiecutter-template cpp
Last synced: 10 days ago
JSON representation
Cookiecutter template for C++ projects
- Host: GitHub
- URL: https://github.com/lchsk/cookiecutter-cpp-project
- Owner: lchsk
- License: mit
- Created: 2018-10-20T22:34:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-21T00:01:11.000Z (about 6 years ago)
- Last Synced: 2024-11-10T17:41:31.583Z (2 months ago)
- Topics: c-plus-plus, cookiecutter, cookiecutter-c-plus-plus, cookiecutter-cpp, cookiecutter-template, cpp
- Language: CMake
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# Cookiecutter template for C++ projects
Generate a new C++ project with a simple command:
```
$ cookiecutter cookiecutter-cpp-project
```## Features
- Generates a new C++ project built with CMake
- It can optionally include installation commands
- It can optionally generate configuration for building `DEB` and `RPM` packages with CPack
- It generates a `man` page
- It can optionally add CMake configuration for Boost, SFML, GoogleTest## Variables
| Variable | Description |
|----------------|---------------------|
| `project_name` | Name of the project |
| `project_short_description` | Short description of the project |
| `license` | License e.g. `GPLv3` |
| `author_name` | Author's name |
| `author_email` | Author's email |
| `cpp_standard` | C++ language standard, e.g. `17`, `11` |
| `add_installation` | If `y` then installation command (`make install`) will be generated |
| `use_cpack` | If `y` then commands to generate `DEB` and `RPM` packages will be added |
| `add_boost` | If `y` then it will be built with Boost library |
| `add_sfml` | If `y` then it will be built with SFML library |
| `add_google_test` | If `y` then it will add support for tests with GoogleTest |