9167dac5d5
into separate README.msvc file.
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
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
|
|
|