An open API service indexing awesome lists of open source software.

https://github.com/s0cks/generator-cc

Yeoman generator for creating modern C++ projects
https://github.com/s0cks/generator-cc

cmake cpp yeoman

Last synced: 3 months ago
JSON representation

Yeoman generator for creating modern C++ projects

Awesome Lists containing this project

README

        

# generator-cc

> Yeoman generator for creating a modern C++ project using cmake, vcpkg, glog, gflags & more. Allowing you to quickly set up a project following best practices

- [Usage](#usage)
- [Build & Install](#build--install)
- [Prerequisites](#prerequisites)
- [Install Generator Locally (Optional)](#install-generator-locally-optional)
- [Generated Project](#generated-project)
- [License](#license)
- [Contributing](#contributing)

## Usage

```sh
cd my/project/dir/
# run the generator using Yeoman:
yo @s0cks/cc
```

## Build & Install

### Prerequisites

- [node](https://nodejs.org/en) & [npm](https://www.npmjs.com/)
- [yeoman](https://yeoman.io/)

### Install Generator Locally (Optional)

```sh
# clone the repository
git clone https://github.com:s0cks/generator-cc
# install dependencies
npm i
# register the generator to Yeoman:
npm link
# check if it worked:
npm run example
```

## Generated Project

See [example/](/example/)

## Changelog

See [CHANGELOG.md](/CHANGELOG.md)

## License

See [LICENSE](/LICENSE)

## Contributing

See [CONTRIBUTING.md](/CONTRIBUTING.md).