File: INSTALL

package info (click to toggle)
flightgear 1:2016.4.4+dfsg-3+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 48,512 kB
  • ctags: 71,727
  • sloc: cpp: 195,395; ansic: 177,152; sh: 13,661; perl: 4,475; python: 2,381; asm: 642; makefile: 398; java: 314; xml: 85
file content (33 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
How to build FlightGear
=======================

FlightGear uses the CMake build system to generate a platform-specific
build environment.  CMake reads the CMakeLists.txt files that you'll
find throughout the source directories, checks for installed
dependencies and then generates the appropriate build system.

If you don't already have CMake installed on your system you can grab
it from http://www.cmake.org, use version 2.6.4 or later.

Under unices (i.e. Linux, Solaris, Free-BSD, HP-Ux, OSX) use the cmake
or ccmake command-line utils. Preferably, create an out-of-source
build directory and run cmake or ccmake from there. The advantage to
this approach is that the temporary files created by CMake won't
clutter the source directory, and also makes it possible to have
multiple independent build targets by creating multiple build
directories. In a directory alongside the FlightGear source directory
use:

    mkdir fgbuild
    cd fgbuild
    cmake ../flightgear -DCMAKE_BUILD_TYPE=Release
    make
    sudo make install

For detailed instructions see:
* README.cmake for Linux, OSX, ...
* README.msvc for Windows / Visual Studio

For further information see:
* http://wiki.flightgear.org/Building_Flightgear