FreeCAD Build Tool

Overview
The FreeCAD build tool or fcbt is a python script located at

It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.

Usage
With Python correctly installed, fcbt can be invoked by the command

It displays a menu, where you can select the task you want to use it for:

At the input prompt enter the abbreviated command you want to call. For example type "CM" for creating a module.

DistSrc
The command "DS" creates a source distribution of the current source tree.

DistBin
The command "DB" creates a binary distribution of the current source tree.

DistSetup
The command "DI" creates a setup distribution of the current source tree.

DistSetup
The command "DUI" creates a user setup distribution of the current source tree.

DistAll
The command "DA" executes "DS", "DB" and "DI" in sequence.

NextBuildNumber
The "NBN" command increments the build number to create a new release version of FreeCAD.

CreateModule
The "CM" command creates a new application module (Workbench).