0.1.5 • Published 6 years ago

generator-cpp v0.1.5

Weekly downloads
6
License
MIT License
Repository
github
Last release
6 years ago

C++ Project Generator

A Yeoman generator for C++ projects.

FeatureDependencyVersion
Source ControlGit2.13.3
Build & PackagingCMake2.8.12
Unit TestingGoogleTest1.8.0
Code CoverageLcov / Gcov-
DocumentationDoxygen1.8.13

Dependencies

The following tools are required:

npm

https://www.npmjs.com/

Yeoman

npm install -g yo

Install

To install the generator:

npm install generator-cpp

Setup

Project

To interactively setup a project:

yo cpp

To manually setup a project:

yo cpp --name "C++ Project" --author "Bob Marley" --email "bob@marley.com"

To automatically setup a project:

yo cpp --auto

Class

To interactively add a class:

yo cpp:class

To manually add a class:

yo cpp:class MyClass

To automatically add a class:

yo cpp:class --auto

Other

To display help:

yo cpp --help

Build

Both CMake (recommended) and Autoconf syntaxes are supported:

mkdir build && cd build
cmake ..
make

or...

./configure
make

To run the tests:

make test

To run the code coverage analysis:

make coverage

To generate the documentation:

make docs

To install / uninstall:

make install
make uninstall

Credits

Big thanks to:

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago