CMakeLists.txt   CMakeLists.txt 
skipping to change at line 53 skipping to change at line 53
servers/NexStarCommand.hpp servers/NexStarCommand.hpp
servers/NexStarCommand.cpp servers/NexStarCommand.cpp
) )
# Add here all the .ui files # Add here all the .ui files
SET(TelescopeControl_UIS SET(TelescopeControl_UIS
gui/slewDialog.ui gui/slewDialog.ui
gui/telescopeDialog.ui gui/telescopeDialog.ui
gui/telescopeConfigurationDialog.ui) gui/telescopeConfigurationDialog.ui)
QT4_WRAP_UI(TelescopeControl_UIS_H ${TelescopeControl_UIS}) QT5_WRAP_UI(TelescopeControl_UIS_H ${TelescopeControl_UIS})
# Compile the resource files # Compile the resource files
SET(TelescopeControl_RES ../resources/TelescopeControl.qrc) SET(TelescopeControl_RES ../resources/TelescopeControl.qrc)
QT4_ADD_RESOURCES(TelescopeControl_RES_CXX ${TelescopeControl_RES}) QT5_ADD_RESOURCES(TelescopeControl_RES_CXX ${TelescopeControl_RES})
SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES}) SET(extLinkerOption ${OPENGL_LIBRARIES})
############### For building the dynamic library ###################### ADD_LIBRARY(TelescopeControl-static STATIC ${TelescopeControl_SRCS} ${Teles
IF(BUILD_DYNAMIC_PLUGINS) copeControl_RES_CXX} ${TelescopeControl_UIS_H})
ADD_LIBRARY(TelescopeControl MODULE ${TelescopeControl_SRCS} ${TelescopeCo SET_TARGET_PROPERTIES(TelescopeControl-static PROPERTIES OUTPUT_NAME "Teles
ntrol_RES_CXX} ${TelescopeControl_UIS_H}) copeControl")
TARGET_LINK_LIBRARIES(TelescopeControl-static ${extLinkerOption})
IF(APPLE) QT5_USE_MODULES(TelescopeControl-static Core Network Widgets Declarative Op
FIND_LIBRARY(OPENGL_LIBRARY OpenGL) enGL)
MARK_AS_ADVANCED(OPENGL_LIBRARY) SET_TARGET_PROPERTIES(TelescopeControl-static PROPERTIES COMPILE_FLAGS "-DQ
SET_TARGET_PROPERTIES(TelescopeControl PROPERTIES LINK_FLAGS "-undefined T_STATICPLUGIN")
dynamic_lookup" SUFFIX ".dylib") ADD_DEPENDENCIES(AllStaticPlugins TelescopeControl-static)
ENDIF(APPLE)
IF(WIN32)
SET_TARGET_PROPERTIES(TelescopeControl PROPERTIES LINK_FLAGS "-Wl,--enabl
e-runtime-pseudo-reloc -Wl,--allow-multiple-definition" )
SET(StelMain stelMain)
ELSE(WIN32)
SET(StelMain )
ENDIF(WIN32)
TARGET_LINK_LIBRARIES(TelescopeControl ${StelMain} ${extLinkerOption})
INSTALL(TARGETS TelescopeControl DESTINATION "modules/TelescopeControl")
ENDIF()
############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(TelescopeControl-static STATIC ${TelescopeControl_SRCS} ${Tele
scopeControl_RES_CXX} ${TelescopeControl_UIS_H})
SET_TARGET_PROPERTIES(TelescopeControl-static PROPERTIES OUTPUT_NAME "Tele
scopeControl")
TARGET_LINK_LIBRARIES(TelescopeControl-static ${extLinkerOption})
SET_TARGET_PROPERTIES(TelescopeControl-static PROPERTIES COMPILE_FLAGS "-D
QT_STATICPLUGIN")
ADD_DEPENDENCIES(AllStaticPlugins TelescopeControl-static)
ENDIF()
 End of changes. 4 change blocks. 
3 lines changed or deleted 3 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/