]> git.mxchange.org Git - flightgear.git/blob - INSTALL
Add INSTALL file, split MSVC instructions from README.cmake
[flightgear.git] / INSTALL
1 How to build FlightGear
2 =======================
3
4 FlightGear uses the CMake build system to generate a platform-specific
5 build environment.  CMake reads the CMakeLists.txt files that you'll
6 find throughout the source directories, checks for installed
7 dependencies and then generates the appropriate build system.
8
9 If you don't already have CMake installed on your system you can grab
10 it from http://www.cmake.org, use version 2.6.4 or later.
11
12 Under unices (i.e. Linux, Solaris, Free-BSD, HP-Ux, OSX) use the cmake
13 or ccmake command-line utils. Preferably, create an out-of-source
14 build directory and run cmake or ccmake from there. The advantage to
15 this approach is that the temporary files created by CMake won't
16 clutter the source directory, and also makes it possible to have
17 multiple independent build targets by creating multiple build
18 directories. In a directory alongside the FlightGear source directory
19 use:
20
21     mkdir fgbuild
22     cd fgbuild
23     cmake ../flightgear -DCMAKE_BUILD_TYPE=Release
24     make
25     sudo make install
26
27 For detailed instructions see:
28 * README.cmake for Linux, OSX, ...
29 * README.msvc for Windows / Visual Studio
30
31 For further information see:
32 * http://wiki.flightgear.org/Building_Flightgear
33