Skip to content

CLI utility to create a new C++ project with a predefined structure inspired by Melkeydev's go-blueprint.

License

Notifications You must be signed in to change notification settings

ErlanRG/bluecpprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLUECCPRINT

A CLI utility to create a new C and C++ projects with a predefined structure inspired by Melkeydev's go-blueprint built in Go.

Setup

Requirements

  • go (if you want to build from source)
  • make (makes everything easier)

Clone the project

  $ git clone --depth=1 https://github.com/ErlanRG/bluecpprint

Go to the project directory

  $ cd bluecpprint

Build and install

  $ make && make install

The binary will be installed in $HOME/.local/bin/

Building from source

Compile this using go

  $ go build -o bluecpprint cmd/main.go

Usage

Create a project

  $ bluecpprint --language=[LANGUAGE] [PROJECT_NAME]

Structure

Bluecpprint generates a simple project structure with some extra features:

my_project
├── .git
├── bin
├── include
├── src/
│   └── main.cpp        // File extension will change depending on the selected language
├── .clang-format
├── .gitignore
├── Makefile
└── README.md
  • Git repository automatically created.
  • Microsoft's clang-format configuration.
  • Makefile with build, clean and run scripts right of the bat

Acknowledgements

Feedback

If you have any feedback, please reach out to me at [email protected]

Contributing

Pull requests are more than welcome. For major changes, please submit a new issue.

License

MIT

About

CLI utility to create a new C++ project with a predefined structure inspired by Melkeydev's go-blueprint.

Topics

Resources

License

Stars

Watchers

Forks