FreeCAD Build Tool/it: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Updating to match new version of source page)
Line 1: Line 1:
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at
== Strumento di costruzione di FreeCAD ==
<syntaxhighlight>

Lo '''Strumento per la costruzione di FreeCAD''' (FreeCAD build tool o '''fcbt''') è uno script in Python ubicato in
trunc/src/Tools/fcbt.py
trunc/src/Tools/fcbt.py
</syntaxhighlight>
Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.
It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.

___TOC___

=== Utilizzo ===


== Usage ==
Con [[wikipedia:Python (programming language)|Python]] installato correttamente, ''fcbt'' può essere richiamato con il comando
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
<syntaxhighlight>
python fbct.py
python fbct.py
</syntaxhighlight>
che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:
It displays a menu, where you can select the task you want to use it for:

<syntaxhighlight>
FreeCAD Build Tool
FreeCAD Build Tool
Usage:
Usage:
Line 27: Line 26:
For help on the modules type:
For help on the modules type:
fcbt <command name> ?
fcbt <command name> ?
</syntaxhighlight>
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].


=== DistSrc ===
Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per [[Module Creation/it|creare un modulo]].
The command "DS" [[Create Source Distribution|creates a source distribution]] of the current source tree.

==== DistSrc ====
Il comando "DS" [[Create Source Distribution/it|crea una distribuzione di codice sorgente]] dell'albero di codice sorgente attuale.


==== DistBin ====
=== DistBin ===
Il comando "DB" [[Create Binary Distibution/it|crea una distribuzione binaria]] dell'albero di codice sorgente attuale.
The command "DB" [[Create Binary Distibution|creates a binary distribution]] of the current source tree.


==== DistSetup ====
=== DistSetup ===
Il comando "DI" [[Create Setup Distribution/it|crea una distribuzione di setup]] dell'albero di codice sorgente attuale.
The command "DI" [[Create Setup Distribution|creates a setup distribution]] of the current source tree.


==== DistSetup ====
=== DistSetup ===
Il comando "DUI" [[Create User Setup Distribution/it|crea una distribuzione di setup dell'utente]] dell'albero di codice sorgente attuale.
The command "DUI" [[Create User Setup Distribution|creates a user setup distribution]] of the current source tree.


==== DistAll ====
=== DistAll ===
Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.
The command "DA" executes "DS", "DB" and "DI" in sequence.


==== NextBuildNumber ====
=== NextBuildNumber ===
Il comando "NBN" [[Increment Build Number/it|incrementa il numero della costruzione]] per creare una nuova versione di FreeCAD.
The "NBN" command [[Increment Build Number|increments the build number]] to create a new release version of FreeCAD.


==== CreateModule ====
=== CreateModule ===
Il comando "CM" [[Module Creation/it|crea un nuovo modulo dell'applicazione]].
The "CM" command [[Module Creation|creates a new application module]].


{{Docnav/it|[[Start up and Configuration/it|Avvio e Configurazione]]|[[Module Creation/it|Creare un modulo]]}}
{{Docnav|Start up and Configuration|Module Creation}}


[[Category:Developer Documentation]]
{{languages/it | {{en|FreeCAD Build Tool}} {{de|FreeCAD Build Tool/de}} {{es|FreeCAD Build Tool/es}} {{fr|FreeCAD Build Tool/fr}} {{jp|FreeCAD Build Tool/jp}} {{ru|FreeCAD Build Tool/ru}} {{se|FreeCAD Build Tool/se}} }}


{{clear}}
[[Category:Developer Documentation/it]]
<languages/>

Revision as of 17:27, 16 October 2014

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

 trunc/src/Tools/fcbt.py

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

 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