Skip to content

XEDGit/cpptemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

cpptemplate

A bash script to create a C++ project structure, creating classes source files and headers using Orthodox Canonical Form

Usage

$ ~ >./cpptemplate <flags> <classname 1> [<classname n...>]

Flags

-v OR --verbose: Adds outputs on std::cout when classes get contructed, copied or destroyed

-n OR --name : Sets $(NAME) variable in Makefile to <value>

--overwrite: overwrites Makefile and classes files .cpp and .hpp with new empty version

-argv: add int argc, char **argv to main.cpp

-W: add flags -Wall -Werror -Wextra to Makefile for compilation

--clean: removes folders inc obj src Makefile

About

C++ class template for UNIX terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages