Add default config generation

This commit is contained in:
Thraix
2019-10-10 23:26:10 +02:00
parent 647ce0e3d8
commit 67de469181
5 changed files with 60 additions and 5 deletions
+7 -1
View File
@@ -35,6 +35,12 @@ In order to create a MakeGen configuration file use the following command:
makegen conf gen prompt
This will prompt you with all the needed configurations in order to create a Makefile which will compile your code.
If you want to create a quick and simple config file you can also run:
makegen conf gen default
Which will default the source directory to `src/`, output directory to `bin/` and project name to the current directory name.
When this is done it will create a file called `makegen.conf` which contains all relevant data for MakeGen to create a Makefile.
If you want to change your config you can modify the makegen.conf file or use makegens config command line interface.
@@ -59,4 +65,4 @@ If multiple options are given to MakeGen it will execute them in the following o
clean all install run
Since MakeGen generates include dependencies in your Makefile it can cause the Makefile to get very cluttered.
In order to make it less cluttered you can run `makegen --simple` which will generate (and run) a Makefile without header file dependencies.
In order to make it less cluttered you can run `makegen --simple` which will generate (and run) a Makefile without header file dependencies.