CMakeLists.txt   CMakeLists.txt 
skipping to change at line 46 skipping to change at line 46
SET(SatellitesDialog_UIS SET(SatellitesDialog_UIS
gui/satellitesDialog.ui gui/satellitesDialog.ui
gui/satellitesImportDialog.ui gui/satellitesImportDialog.ui
) )
QT4_WRAP_UI(SatellitesDialog_UIS_H ${SatellitesDialog_UIS}) QT4_WRAP_UI(SatellitesDialog_UIS_H ${SatellitesDialog_UIS})
SET(Satellites_RES ../resources/Satellites.qrc) SET(Satellites_RES ../resources/Satellites.qrc)
QT4_ADD_RESOURCES(Satellites_RES_CXX ${Satellites_RES}) QT4_ADD_RESOURCES(Satellites_RES_CXX ${Satellites_RES})
# Add here all the files which require moc compilation
# that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc..
SET(Satellites_MOC_HDRS
Satellites.hpp
gui/SatellitesDialog.hpp
gui/SatellitesImportDialog.hpp
)
# After this call, Satellites_MOC_SRCS = moc_Satellites.cxx
QT4_WRAP_CPP(Satellites_MOC_SRCS ${Satellites_MOC_HDRS})
SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES}) SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_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(Satellites MODULE ${Satellites_SRCS} ${Satellites_MOC_SR CS} ${Satellites_RES_CXX} ${SatellitesDialog_UIS_H}) ADD_LIBRARY(Satellites MODULE ${Satellites_SRCS} ${Satellites_RES_CX X} ${SatellitesDialog_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(Satellites PROPERTIES LINK_FLAGS "-und efined dynamic_lookup" SUFFIX ".dylib") SET_TARGET_PROPERTIES(Satellites PROPERTIES LINK_FLAGS "-und efined dynamic_lookup" SUFFIX ".dylib")
ENDIF() ENDIF()
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(Satellites PROPERTIES LINK_FLAGS "-ena ble-runtime-pseudo-reloc -Wl,--allow-multiple-definition" ) SET_TARGET_PROPERTIES(Satellites 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(Satellites ${StelMain} ${extLinkerOption}) TARGET_LINK_LIBRARIES(Satellites ${StelMain} ${extLinkerOption})
INSTALL(TARGETS Satellites DESTINATION "modules/Satellites") INSTALL(TARGETS Satellites DESTINATION "modules/Satellites")
ENDIF() ENDIF()
############### For building the static library ###################### ############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS) IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(Satellites-static STATIC ${Satellites_SRCS} ${Satellites _MOC_SRCS} ${Satellites_RES_CXX} ${SatellitesDialog_UIS_H}) ADD_LIBRARY(Satellites-static STATIC ${Satellites_SRCS} ${Satellites _RES_CXX} ${SatellitesDialog_UIS_H})
# The library target "Satellites-static" has a default OUTPUT_NAME o f "Satellites-static", so change it. # The library target "Satellites-static" has a default OUTPUT_NAME o f "Satellites-static", so change it.
SET_TARGET_PROPERTIES(Satellites-static PROPERTIES OUTPUT_NAME "Sate llites") SET_TARGET_PROPERTIES(Satellites-static PROPERTIES OUTPUT_NAME "Sate llites")
TARGET_LINK_LIBRARIES(Satellites-static ${StelMain} ${extLinkerOptio n}) TARGET_LINK_LIBRARIES(Satellites-static ${StelMain} ${extLinkerOptio n})
SET_TARGET_PROPERTIES(Satellites-static PROPERTIES COMPILE_FLAGS "- DQT_STATICPLUGIN -Wno-unused-parameter") SET_TARGET_PROPERTIES(Satellites-static PROPERTIES COMPILE_FLAGS "- DQT_STATICPLUGIN -Wno-unused-parameter")
ADD_DEPENDENCIES(AllStaticPlugins Satellites-static) ADD_DEPENDENCIES(AllStaticPlugins Satellites-static)
ENDIF() ENDIF()
 End of changes. 3 change blocks. 
13 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/