Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

→‎Options: Fix outdated contents
(→‎Compiling only one program: Outdatedness warning)
(→‎Options: Fix outdated contents)
Line 213: Line 213:


== Options ==
== Options ==
The script by default (without any option) will only compile FlightGear and FGRun. To make it compile all, you need to launch the script with the ''ALL'' parameter. i.e.:
 
<pre>
By default, <tt>download_and_compile.sh</tt> downloads or updates, then compiles, [[SimGear]] and FlightGear, and downloads or updates [[FGData]] (by nature, FGData can't be compiled). This is what happens when running:
./download_and_compile.sh ALL
./download_and_compile.sh
</pre>
To make it download or update and compile something else, you may pass non-option arguments naming the ''components'' you want, for instance:
./download_and_compile.sh SIMGEAR FGFS DATA OSG
SIMGEAR, FGFS, DATA and OSG are the component names respectively corresponding to [[SimGear]], FlightGear, [[FGData]] and [[OpenSceneGraph]] in <tt>download_and_compile.sh</tt>'s terminology.
 
See the output of <code>download_and_compile.sh --help</code> for more details.


=== Compiling only one program ===
=== Compiling only one program ===
377

edits