Skip to content

jackgore/cppg

Repository files navigation

cppg

cppg generates .cc and .h files for c++

Requires no dependencies. Simppy run make to build the project.

Create a file containing a list of classnames and give to cppg for stdin or pass a file as a command line argument.

Example without input file:

./cpg
GameObject
Controller

Example with input file:

classnames.in:

GameObject
Player

./cppg -f classnames.in

For each example GameObject files look like this:

gameobject.h

#ifndef __GAMEOBJECT_H__
#define __GAMEOBJECT_H__
class GameObject {

};
#endif

gameobject.cc

#include "gameobject.h"

About

cppg generates .cc and .h files for c++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages