Generate C++ projects with ease!
- Creates a folder with name of the project
- Creates
include
,lib
, andsrc
- Creates Makefile and a C++ source file with sample code
- Allows you to use custom build scripts!
- Type in the name of project as the first parameter
- Optionaly enter the path of the custom Makefile you wish to use
- You create a Makefile
- You create the Makefile code as usual
- Instead of the (for example)
main.cpp
you put^.cpp
^
means the name of the project- Please note that source files (by default) are in the
src
folder - Video explaning how to do it (Note this video is outdated, yet should still work)
g++ src/^.cpp -o ^ -Iinclude -Llib
(^
means the name of the project)
So what will be created is (project name is game)
g++ src/game.cpp -o game -Iinclude -Llib
These are located at makefile_sample
- Make one big file for custom Makefile and Sample Code
- Add more .PG sample files