# Set up a map with the names of the Eclipse releases:
SET(_ECLIPSE_VERSION_NAME_"Unknown")
SET(_ECLIPSE_VERSION_NAME_3.2"Callisto")
SET(_ECLIPSE_VERSION_NAME_3.3"Europa")
SET(_ECLIPSE_VERSION_NAME_3.4"Ganymede")
SET(_ECLIPSE_VERSION_NAME_3.5"Galileo")
SET(_ECLIPSE_VERSION_NAME_3.6"Helios")
SET(_ECLIPSE_VERSION_NAME_3.7"Indigo")
IF(_ECLIPSE_VERSION)
MESSAGE(STATUS"Found Eclipse version ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})")
ELSE()
SET(_ECLIPSE_VERSION"3.6")
MESSAGE(STATUS"Could not determine Eclipse version, assuming at least ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}}). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.")
ENDIF()
SET(CMAKE_ECLIPSE_VERSION"${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})"CACHESTRING"The version of Eclipse. If Eclipse has not been found, 3.6 (Helios) is assumed.")
# This variable is used by the Eclipse generator and appended to the make invocation commands.
SET(CMAKE_ECLIPSE_MAKE_ARGUMENTS"${_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS}"CACHESTRING"Additional command line arguments when Eclipse invokes make. Enter e.g. -j<some_number> to get parallel builds")