Outil build de FreeCAD

From FreeCAD Documentation
Revision as of 18:58, 16 October 2014 by Renatorivo (talk | contribs) (Created page with "=== DistBin === La commande "DB" Créer une distribution binaire de l'arbre source de courant.")

L'outil de construction de FreeCAD ou fcbt est un script python situé à :

 trunc/src/Tools/fcbt.py

Il peut être utilisé, pour simplifier certaines tâches fréquemment utilisées dans la construction (compilation), la distribution, et, l'extension de FreeCAD.

Utilisation

Quand Python est correctement installé, fcbt peut être invoqué par la commande :

 python fbct.py

Il affiche un menu, où vous pouvez sélectionner la tâche, que vous souhaitez utiliser pour :

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> ?

À l'invite de commande, entrez la commande abrégée que vous voulez appeler. Par exemple, tapez «CM» pour la création d'un module.

DistSrc

La commande "DS" Crée le source de la distribution de l'arbre source de courant.

DistBin

La commande "DB" Créer une distribution binaire de l'arbre source de courant.

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