CMakeLists.txt   CMakeLists.txt 
SET(TELESCOPE_CONTROL_MAJOR "0") SET(TELESCOPE_CONTROL_MAJOR "0")
SET(TELESCOPE_CONTROL_MINOR "1") SET(TELESCOPE_CONTROL_MINOR "2")
SET(TELESCOPE_CONTROL_PATCH "9") SET(TELESCOPE_CONTROL_PATCH "1")
SET(TELESCOPE_CONTROL_VERSION "${TELESCOPE_CONTROL_MAJOR}.${TELESCOPE_CONTR OL_MINOR}.${TELESCOPE_CONTROL_PATCH}") SET(TELESCOPE_CONTROL_VERSION "${TELESCOPE_CONTROL_MAJOR}.${TELESCOPE_CONTR OL_MINOR}.${TELESCOPE_CONTROL_PATCH}")
#Don't forget to increment the version in device_models.json too, #Don't forget to increment the version in device_models.json too,
#otherwise the local copy will be overwritten each time Stellarium is start ed. #otherwise the local copy will be overwritten each time Stellarium is start ed.
SET(USE_TOGGLEABLE_TELESCOPE_WINDOW 1 CACHE BOOL "The telescopes dialog win
dow can be toggled with a keyboard shortcut and/or a toolbar button.")
SET(USE_TOOLBAR_BUTTON 1 CACHE BOOL "Add a button to the bottom toolbar to
toggle the telescopes dialog window.")
SET(COMPATIBILITY_001003 1 CACHE BOOL "Make the plug-in compatible with Ste
llarium version 0.10.3.")
IF(NOT USE_TOGGLEABLE_TELESCOPE_WINDOW)
SET(USE_TOOLBAR_BUTTON 0)
ENDIF(NOT USE_TOGGLEABLE_TELESCOPE_WINDOW)
IF(APPLE) IF(APPLE)
SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/Library/Application\ Support/Ste llarium) SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/Library/Application\ Support/Ste llarium)
ElSE(APPLE) ElSE(APPLE)
SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/.stellarium) SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/.stellarium)
ENDIF(APPLE) ENDIF(APPLE)
#SET(TELESCOPE_SERVERS_SOURCE_DIR "$ENV{STELROOT}/../telescope_server/src" #SET(TELESCOPE_SERVERS_SOURCE_DIR "$ENV{STELROOT}/../telescope_server/src"
# CACHE PATH "Should point to the /src/ directory where the stellarium telescope servers source tree is located") # CACHE PATH "Should point to the /src/ directory where the stellarium telescope servers source tree is located")
IF(COMPATIBILITY_001003)
ADD_DEFINITIONS(-DCOMPATIBILITY_001003)
ENDIF()
IF(USE_TOGGLEABLE_TELESCOPE_WINDOW)
ADD_DEFINITIONS(-DUSE_TOGGLEABLE_TELESCOPE_WINDOW)
ENDIF()
IF(USE_TOOLBAR_BUTTON)
ADD_DEFINITIONS(-DUSE_TOOLBAR_BUTTON)
ENDIF()
ADD_DEFINITIONS(-DPLUGIN_VERSION="${TELESCOPE_CONTROL_VERSION}") ADD_DEFINITIONS(-DPLUGIN_VERSION="${TELESCOPE_CONTROL_VERSION}")
#Temporary debugging definitions for the telescope servers code #Temporary debugging definitions for the telescope servers code
ADD_DEFINITIONS(-DDEBUG3 -DDEBUG4 -DDEBUG5) ADD_DEFINITIONS(-DDEBUG3 -DDEBUG4 -DDEBUG5)
ADD_SUBDIRECTORY( src ) ADD_SUBDIRECTORY( src )
INSTALL(FILES DESTINATION "modules/TelescopeControl") INSTALL(FILES DESTINATION "modules/TelescopeControl")
 End of changes. 3 change blocks. 
22 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/