Coder Social home page Coder Social logo

lucas-bremond / generator-cpp Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 3.0 180 KB

A Yeoman generator for C++ projects.

License: MIT License

JavaScript 48.13% CMake 27.54% Makefile 0.81% C++ 15.45% CSS 6.29% HTML 1.79%
cpp yeoman scaffolding template bootstrap yeoman-generator cmake googletest lcov doxygen

generator-cpp's Introduction

C++ Project Generator

A Yeoman generator for C++ projects.

Build Status Code Coverage License

Feature Dependency Version
Source Control Git 2.13.3
Build & Packaging CMake 2.8.12
Unit Testing GoogleTest 1.8.0
Code Coverage Lcov / Gcov 1.13
Documentation Doxygen 1.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 "[email protected]"

Available options are:

To automatically setup a project:

yo cpp --auto

Note that automatic and manual modes can be used together:

yo cpp --auto --name "C++ Project" --coverage

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:

generator-cpp's People

Contributors

lucas-bremond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generator-cpp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.