CMakeLists.txt   CMakeLists.txt 
skipping to change at line 28 skipping to change at line 28
SET(QuasarsDialog_UIS SET(QuasarsDialog_UIS
gui/quasarsDialog.ui gui/quasarsDialog.ui
) )
QT4_WRAP_UI(QuasarsDialog_UIS_H ${QuasarsDialog_UIS}) QT4_WRAP_UI(QuasarsDialog_UIS_H ${QuasarsDialog_UIS})
SET(Quasars_RES ../resources/Quasars.qrc) SET(Quasars_RES ../resources/Quasars.qrc)
QT4_ADD_RESOURCES(Quasars_RES_CXX ${Quasars_RES}) QT4_ADD_RESOURCES(Quasars_RES_CXX ${Quasars_RES})
SET(Quasars_MOC_HDRS
Quasars.hpp
gui/QuasarsDialog.hpp
)
QT4_WRAP_CPP(Quasars_MOC_SRCS ${Quasars_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(Quasars MODULE ${Quasars_SRCS} ${Quasars_MOC_SRCS} ${Qua sars_RES_CXX} ${QuasarsDialog_UIS_H}) ADD_LIBRARY(Quasars MODULE ${Quasars_SRCS} ${Quasars_RES_CXX} ${Quas arsDialog_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(Quasars PROPERTIES LINK_FLAGS "-undefi ned dynamic_lookup" SUFFIX ".dylib") SET_TARGET_PROPERTIES(Quasars PROPERTIES LINK_FLAGS "-undefi ned dynamic_lookup" SUFFIX ".dylib")
ENDIF() ENDIF()
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(Quasars PROPERTIES LINK_FLAGS "-enable -runtime-pseudo-reloc -Wl,--allow-multiple-definition" ) SET_TARGET_PROPERTIES(Quasars PROPERTIES LINK_FLAGS "-enable -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(Quasars ${StelMain} ${extLinkerOption}) TARGET_LINK_LIBRARIES(Quasars ${StelMain} ${extLinkerOption})
INSTALL(TARGETS Quasars DESTINATION "modules/Quasars") INSTALL(TARGETS Quasars DESTINATION "modules/Quasars")
ENDIF() ENDIF()
############### For building the static library ###################### ############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS) IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(Quasars-static STATIC ${Quasars_SRCS} ${Quasars_MOC_SRCS } ${Quasars_RES_CXX} ${QuasarsDialog_UIS_H}) ADD_LIBRARY(Quasars-static STATIC ${Quasars_SRCS} ${Quasars_RES_CXX} ${QuasarsDialog_UIS_H})
SET_TARGET_PROPERTIES(Quasars-static PROPERTIES OUTPUT_NAME "Quasars ") SET_TARGET_PROPERTIES(Quasars-static PROPERTIES OUTPUT_NAME "Quasars ")
TARGET_LINK_LIBRARIES(Quasars-static ${extLinkerOption}) TARGET_LINK_LIBRARIES(Quasars-static ${extLinkerOption})
SET_TARGET_PROPERTIES(Quasars-static PROPERTIES COMPILE_FLAGS "-DQT_ STATICPLUGIN") SET_TARGET_PROPERTIES(Quasars-static PROPERTIES COMPILE_FLAGS "-DQT_ STATICPLUGIN")
ADD_DEPENDENCIES(AllStaticPlugins Quasars-static) ADD_DEPENDENCIES(AllStaticPlugins Quasars-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/