0.0.2 • Published 7 years ago
generator-c-bones v0.0.2
c-bones
A yeoman generator for C++ projects using Meson.
Introduction
c-bones is a yeoman generator for C++-projects that use Meson as build tool. c-bones creates a project that uses
- a prototype
meson.buildfile that usesBoostas dependency, - a custom
valgrindrcand an oppinioatedclang-format - badges for the project status, build status using Travis CI and code coverage,
- a prototype
main.cppand test suite file, - custom README.md, TODO.md and VERSIONS.md files,
- standard software development config and GitHib files like
travis.yml,codecov.yml,gitignoreandgitattributes, - a GPL3 license.
The resulting folder-structure looks like this:
|____.clang-format
|____.codecov.yml
|____.gitattributes
|____.gitignore
|____.travis.yml
|____.valgrindrc
|____.yo-rc.json
|____LICENSE
|____README.md
|____VERSIONS.md
|____TODO.md
|____meson.build
|____src
| |____clazz.hpp
| |____clazz.cpp
| |____main.cpp
|____tests
| |____test_clazz.cpp
| |____test.cppInstallation
Yeoman comes with npm, so install it first and then call:
npm install -g yo
npm install -g generator-c-bonesOnce you have the package, you can create a scaffold using:
yo c-bonesThis builds the skeleton. Afterwards modify the sources and build your project.
Author
- Simon Dirmeier simon.dirmeier@web.de