3
edits
No edit summary |
|||
Line 68: | Line 68: | ||
mkdir build.osg | mkdir build.osg | ||
cd build.osg | cd build.osg | ||
cmake -D CMAKE_BUILD_TYPE="Release" -D | cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS_RELEASE="-O3" -D CMAKE_C_FLAGS_RELEASE="-O3" \ | ||
-D CMAKE_INSTALL_PREFIX:PATH="${MY_PREFIX}" ../path/to/osg/source | -D CMAKE_INSTALL_PREFIX:PATH="${MY_PREFIX}" ../path/to/osg/source | ||
make | make | ||
Line 88: | Line 88: | ||
Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc). | Installing with --prefix is a very nice way to keep several distinct and independent versions of FlightGear around. To start a new $PREFIX directory you'll also need to install plib in it, but that is easy. Most other needed dependencies are usually available through the package system of most Linux distributions (e.g. FreeGLUT, SDL, ALSA, etc). | ||
= Features and issues = | = Features and issues = |
edits