A CLI utility to create a new C and C++ projects with a predefined structure inspired by Melkeydev's go-blueprint built in Go.
- 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/
Compile this using go
$ go build -o bluecpprint cmd/main.go
Create a project
$ bluecpprint --language=[LANGUAGE] [PROJECT_NAME]
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
- go-blueprint - Melkeydev
- readme.so - octokatherine
If you have any feedback, please reach out to me at [email protected]
Pull requests are more than welcome. For major changes, please submit a new issue.