minbuild scripts speeds up your build system setup for C/C++/Assembly projects and it is completly makefile based which avoid installation of additional tools.
- can support multiple projects with different configurations
- can quickly create new projects by using user defined templates
- supports incremental build even when dependencies of source file are changed
- supports execution of user defined pre-compilation & post-compilation scripts
You can have single project or multiple projects in your workspace in any directory tree format. The makefile (or called as entry makefile) in this repository should be configured according to your target needs. When you issue make command, this entry makefile should be the one that gets executed first.
When you open the makefile you see list of below configurations:
Optional configuration to specify root path of your workspace or project. Not used anywhere in the minbuild scripts
Specify build output directory
Specify solution directory where you can have multiple projects
Specify path of minbuild scripts
Specify name of default project
Opitonal configuration to specify default argument to pass when you run the final executables
Type following command to create new project in PRJ_BUILD path
make PROJ=<new_project> new
Type following command to trigger clean or incremental build
make PROJ=<project>
Note: PROJ Argument is optional here, when not specified DEFAULT_PROJECT will taken
make PROJ=<project> clean
Note: PROJ Argument is optional here, when not specified entire BUILD_OUTPUT directory will be cleaned
make PROJ=<project> ARGS<arugments> run
Note:
- PROJ Argument is optional here, when not specified DEFAULT_PROJECT will taken
- ARGS is also optional