Building using CMake: Difference between revisions

Jump to navigation Jump to search
Line 168: Line 168:
but there is *no* 'make distclean' target. The equivalent is to completely
but there is *no* 'make distclean' target. The equivalent is to completely
remove your build directory, and start with a fresh one.
remove your build directory, and start with a fresh one.
== SimGear Build Options ==
Some of the more common SimGear build options include
* '''-DENABLE_TESTS=OFF''' (disable unit tests)
* '''-DSIMGEAR_HEADLESS=ON'''  (enables a headless build, i.e. without OSG and other graphics stuff)
* '''-DENABLE_LIBSVN=OFF''' (disables the subversion support, i.e. scenery fetching)
* '''-DENABLE_SOUND=OFF''' (disables OpenAL/sound support)
* '''-DCMAKE_INSTALL_PREFIX=$HOME''' (installs everything into $HOME, instead of system-wide)
* '''-DENABLE_RTI=ON''' (enable [[HLA]] support)
* '''-DJPEG_FACTORY=ON''' (enable jpeg support)


== XCode ==
== XCode ==

Navigation menu