|
Makeprojects
|
rebuildme is a build system launcher that by using a single command, multiple build systems could be launched using a singluar command line. The tool has the ability to build all projects in a single directory, or even recursively through subdirectories with the -r parameter.
This is the launcher for the makeprojects project creation system and the build_rules.py file.
Full documentation on the operation of build_rules.py is here.
The tool has the ability to parse all project files to determine which version of Visual Studio, XCode, etc. to invoke so there is no needed to determine what build system to use, since it has the ability to determine the proper IDE/build tool to invoke.
rebuildme also handles most video game console build systems automatically.
Navigate to a directory of interest or use a full directory path and run rebuildme. By default, it check the folder for a build_rules.py file for override rules, and it will either use the rules found to build the projects in the directory, it will scan the directory for known project files and invoke the appropriate build system to build the project. If a configuration is passed a parameter, only that configuration will be built in all projects being compiled.
"``rebuildme`` Release", build only the "Release" configuration of all project files.
"``rebuildme``", build all configurations of the project files.
"``rebuildme`` helloworld.sln", build all configurations in helloworld.sln.
If the project file ends with .sln, it's assumed to be a Visual Studio project file.
If the host is Windows, MSYS2, Cygwin, or Windows Subsystem for Linux, it will build Visual Studio projects if the appropriate version of Visual Studio was installed.
These are the supported versions of Visual Studio:
If the folder ends with .xcodeproj and contains the file project.pbxproj, it's assumed to be Apple XCode. This type of project can only be built on macOS hosts.
If the file ends with .wmk, it's assumed to be a Watcom WMAKE file. It can be built on Linux and Windows hosts.
If the file ends with .cdp, it's assumed to be a CodeBlocks project file. It's invoked on Windows and Linux hosts.
If the file ends with .mcp, it's assumed to be a Metrowerks / NXP CodeWarrior file. It's invoked on a Windows or macOS hosts.
If the file is makefile, it's assumed to be a Linux make file and is invoked only on Linux hosts.
If the file ends with .ninja, it's assumed to be a ninja file and is invoked on all hosts.
rebuildme is the insane creation of Rebecca Ann Heineman.
If bugs are found, please send all information on how to recreate the bug to becky@burgerbecky.com