CMakeLists.txt   CMakeLists.txt 
skipping to change at line 27 skipping to change at line 27
) )
SET(ExoplanetsDialog_UIS SET(ExoplanetsDialog_UIS
gui/exoplanetsDialog.ui gui/exoplanetsDialog.ui
) )
QT4_WRAP_UI(ExoplanetsDialog_UIS_H ${ExoplanetsDialog_UIS}) QT4_WRAP_UI(ExoplanetsDialog_UIS_H ${ExoplanetsDialog_UIS})
SET(Exoplanets_RES ../resources/Exoplanets.qrc) SET(Exoplanets_RES ../resources/Exoplanets.qrc)
QT4_ADD_RESOURCES(Exoplanets_RES_CXX ${Exoplanets_RES}) QT4_ADD_RESOURCES(Exoplanets_RES_CXX ${Exoplanets_RES})
SET(Exoplanets_MOC_HDRS
Exoplanets.hpp
gui/ExoplanetsDialog.hpp
)
QT4_WRAP_CPP(Exoplanets_MOC_SRCS ${Exoplanets_MOC_HDRS})
SET(extLinkerOption ${QT_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${OP ENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES}) SET(extLinkerOption ${QT_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${OP ENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES})
############### For building the dynamic library ###################### ############### For building the dynamic library ######################
IF(BUILD_DYNAMIC_PLUGINS) IF(BUILD_DYNAMIC_PLUGINS)
ADD_LIBRARY(Exoplanets MODULE ${Exoplanets_SRCS} ${Exoplanets_MOC_SR CS} ${Exoplanets_RES_CXX} ${ExoplanetsDialog_UIS_H}) ADD_LIBRARY(Exoplanets MODULE ${Exoplanets_SRCS} ${Exoplanets_RES_CX X} ${ExoplanetsDialog_UIS_H})
IF(APPLE) IF(APPLE)
FIND_LIBRARY(OPENGL_LIBRARY OpenGL) FIND_LIBRARY(OPENGL_LIBRARY OpenGL)
MARK_AS_ADVANCED(OPENGL_LIBRARY) MARK_AS_ADVANCED(OPENGL_LIBRARY)
SET_TARGET_PROPERTIES(Exoplanets PROPERTIES LINK_FLAGS "-und efined dynamic_lookup" SUFFIX ".dylib") SET_TARGET_PROPERTIES(Exoplanets PROPERTIES LINK_FLAGS "-und efined dynamic_lookup" SUFFIX ".dylib")
ENDIF() ENDIF()
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(Exoplanets PROPERTIES LINK_FLAGS "-ena ble-runtime-pseudo-reloc -Wl,--allow-multiple-definition" ) SET_TARGET_PROPERTIES(Exoplanets PROPERTIES LINK_FLAGS "-ena ble-runtime-pseudo-reloc -Wl,--allow-multiple-definition" )
SET(StelMain stelMain) SET(StelMain stelMain)
ELSE(WIN32) ELSE(WIN32)
SET(StelMain ) SET(StelMain )
ENDIF(WIN32) ENDIF(WIN32)
TARGET_LINK_LIBRARIES(Exoplanets ${StelMain} ${extLinkerOption}) TARGET_LINK_LIBRARIES(Exoplanets ${StelMain} ${extLinkerOption})
INSTALL(TARGETS Exoplanets DESTINATION "modules/Exoplanets") INSTALL(TARGETS Exoplanets DESTINATION "modules/Exoplanets")
ENDIF() ENDIF()
############### For building the static library ###################### ############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS) IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(Exoplanets-static STATIC ${Exoplanets_SRCS} ${Exoplanets _MOC_SRCS} ${Exoplanets_RES_CXX} ${ExoplanetsDialog_UIS_H}) ADD_LIBRARY(Exoplanets-static STATIC ${Exoplanets_SRCS} ${Exoplanets _RES_CXX} ${ExoplanetsDialog_UIS_H})
SET_TARGET_PROPERTIES(Exoplanets-static PROPERTIES OUTPUT_NAME "Exop lanets") SET_TARGET_PROPERTIES(Exoplanets-static PROPERTIES OUTPUT_NAME "Exop lanets")
TARGET_LINK_LIBRARIES(Exoplanets-static ${extLinkerOption}) TARGET_LINK_LIBRARIES(Exoplanets-static ${extLinkerOption})
SET_TARGET_PROPERTIES(Exoplanets-static PROPERTIES COMPILE_FLAGS "-D QT_STATICPLUGIN") SET_TARGET_PROPERTIES(Exoplanets-static PROPERTIES COMPILE_FLAGS "-D QT_STATICPLUGIN")
ADD_DEPENDENCIES(AllStaticPlugins Exoplanets-static) ADD_DEPENDENCIES(AllStaticPlugins Exoplanets-static)
ENDIF() ENDIF()
 End of changes. 3 change blocks. 
9 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/