-option(ENABLE_LARCSIM "Set to ON to build FlightGear with LaRCsim FDM" OFF)
-option(ENABLE_YASIM "Set to ON to build FlightGear with YASIM FDM" ON)
-option(ENABLE_JSBSIM "Set to ON to build FlightGear with JSBSim FDM" ON)
-option(ENABLE_FGADMIN "Set to ON to build FlightGear with FGADMIN" ON)
-option(EVENT_INPUT "Set to ON to build FlightGear with event-based Input support" ${EVENT_INPUT_DEFAULT})
-option(ENABLE_LIBSVN "Set to ON to build FlightGear/terrasync with libsvnclient support" ON)
-option(ENABLE_RTI "Set to ON to build SimGear with RTI support" OFF)
-option(WITH_FGPANEL "Set to ON to build the fgpanel application" ON)
-
-
-if (MSVC)
- GET_FILENAME_COMPONENT(PARENT_DIR ${PROJECT_SOURCE_DIR} PATH)
- if (CMAKE_CL_64)
- SET(TEST_3RDPARTY_DIR "${PARENT_DIR}/3rdparty.x64")
- else (CMAKE_CL_64)
- SET(TEST_3RDPARTY_DIR "${PARENT_DIR}/3rdparty")
- endif (CMAKE_CL_64)
- if (EXISTS ${TEST_3RDPARTY_DIR})
- set(MSVC_3RDPARTY_ROOT ${PARENT_DIR} CACHE PATH "Location where the third-party dependencies are extracted")
- else (EXISTS ${TEST_3RDPARTY_DIR})
- set(MSVC_3RDPARTY_ROOT NOT_FOUND CACHE PATH "Location where the third-party dependencies are extracted")
- endif (EXISTS ${TEST_3RDPARTY_DIR})
- list(APPEND PLATFORM_LIBS "winmm.lib")
-else (MSVC)
- set(MSVC_3RDPARTY_ROOT NOT_FOUND CACHE PATH "Location where the third-party dependencies are extracted")
-endif (MSVC)
+option(ENABLE_LARCSIM "Set to ON to build FlightGear with LaRCsim FDM" OFF)
+option(ENABLE_YASIM "Set to ON to build FlightGear with YASIM FDM (default)" ON)
+option(ENABLE_JSBSIM "Set to ON to build FlightGear with JSBSim FDM (default)" ON)
+option(EVENT_INPUT "Set to ON to build FlightGear with event-based Input support" ${EVENT_INPUT_DEFAULT})
+option(ENABLE_RTI "Set to ON to build FlightGear with RTI support" OFF)
+option(ENABLE_PROFILE "Set to ON to build FlightGear with gperftools profiling support" OFF)
+option(SYSTEM_SQLITE "Set to ON to build FlightGear with the system's SQLite3 library" OFF)
+option(ENABLE_IAX "Set to ON to build FlightGear with IAXClient/fgcom built-in (default)" ON)
+option(USE_DBUS "Set to ON to build FlightGear with DBus screensaver interaction (default on Linux)" ${USE_DBUS_DEFAULT})
+option(SYSTEM_SPEEX "Set to ON to build IAXClient with the system's speex and speexdsp library" ${SYSTEM_SPEEX_DEFAULT})
+option(SYSTEM_GSM "Set to ON to build IAXClient with the system's GSM library" ${SYSTEM_GSM_DEFAULT})
+option(SYSTEM_FLITE "Set to ON to build Flightgear with the system's Flite library" ${SYSTEM_FLITE_DEFAULT})
+option(SYSTEM_HTS_ENGINE "Set to ON to build Flightgear with the system's HTS Engine library" ${SYSTEM_HTS_ENGINE_DEFAULT})
+
+# additional utilities
+option(ENABLE_FGADMIN "Set to ON to build the FGADMIN application (default)" ON)
+option(ENABLE_FGELEV "Set to ON to build the fgelev application (default)" ON)
+option(WITH_FGPANEL "Set to ON to build the fgpanel application (default)" ON)
+option(ENABLE_FGVIEWER "Set to ON to build the fgviewer application (default)" ON)
+option(ENABLE_GPSSMOOTH "Set to ON to build the GPSsmooth application (default)" ON)
+option(ENABLE_TERRASYNC "Set to ON to build the terrasync application (default)" ON)
+option(ENABLE_FGJS "Set to ON to build the fgjs application (default)" ON)
+option(ENABLE_JS_DEMO "Set to ON to build the js_demo application (default)" ON)
+option(ENABLE_METAR "Set to ON to build the metar application (default)" ON)
+option(ENABLE_TESTS "Set to ON to build test applications (default)" ON)
+option(ENABLE_FGCOM "Set to ON to build the FGCom application (default)" ON)
+option(ENABLE_FLITE "Set to ON to build the Flite text-to-speech module" ON)