]> git.mxchange.org Git - simgear.git/blob - INSTALL
Terrain tiles are not light volumes
[simgear.git] / INSTALL
1 How to build SimGear
2 ====================
3
4 SimGear 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 SimGear source directory
19 use:
20
21     mkdir sgbuild
22     cd sgbuild
23     cmake ../simgear -DCMAKE_BUILD_TYPE=Release
24     make
25     sudo make install
26
27 Further information:
28 * README.cmake and README.msvc files of the FlightGear package
29 * http://wiki.flightgear.org/Building_Flightgear
30