Strumento di compilazione di FreeCAD

From FreeCAD Documentation
Revision as of 17:36, 16 October 2014 by Renatorivo (talk | contribs) (Created page with "=== Utilizzo === Con Python installato correttamente, ''fcbt'' può essere richiamato con il comando")

Lo Strumento per la costruzione di FreeCAD (FreeCAD build tool o fcbt) è uno script in Python ubicato in

 trunc/src/Tools/fcbt.py

Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.

Utilizzo

Con Python installato correttamente, fcbt può essere richiamato con il comando

 python fbct.py

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

FreeCAD Build Tool
 Usage:
    fcbt <command name> [command parameter]
 possible commands are:
  - DistSrc         (DS)   Build a source Distr. of the current source tree
  - DistBin         (DB)   Build a binary Distr. of the current source tree
  - DistSetup       (DI)   Build a Setup Distr. of the current source tree
  - DistSetup       (DUI)  Build a User Setup Distr. of the current source tree
  - DistAll         (DA)   Run all three above modules
  - NextBuildNumber (NBN)  Increase the Build Number of this Version
  - CreateModule    (CM)   Insert a new FreeCAD Module in the module directory

 For help on the modules type:
   fcbt <command name> ?

At the input promt 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.

Start up and Configuration
Module Creation