CMakeLists.txt   CMakeLists.txt 
INCLUDE_DIRECTORIES(. sgp4sdp4 gui ${CMAKE_BINARY_DIR}/plugins/Satellites/s rc ${CMAKE_BINARY_DIR}/plugins/Satellites/src/gui) INCLUDE_DIRECTORIES(. gsatellite gui ${CMAKE_BINARY_DIR}/plugins/Satellites /src ${CMAKE_BINARY_DIR}/plugins/Satellites/src/gui)
LINK_DIRECTORIES(/src) LINK_DIRECTORIES(/src)
SET(Satellites_SRCS SET(Satellites_SRCS
sgp4sdp4/sgp4sdp4.c gsatellite/gException.hpp
sgp4sdp4/sgp4sdp4.h gsatellite/gMatrix.cpp
sgp4sdp4/sgp_in.c gsatellite/gMatrix.hpp
sgp4sdp4/sgp_math.c gsatellite/gMatrixTempl.hpp
sgp4sdp4/sgp_obs.c gsatellite/gObserver.cpp
sgp4sdp4/sgp_time.c gsatellite/gObserver.hpp
sgp4sdp4/solar.c gsatellite/gSatTEME.cpp
gsatellite/gSatTEME.hpp
gsatellite/mathUtils.cpp
gsatellite/mathUtils.hpp
gsatellite/gTime.cpp
gsatellite/gTime.hpp
gsatellite/gTimeSpan.cpp
gsatellite/gVector.cpp
gsatellite/gVector.hpp
gsatellite/gVectorTempl.hpp
gsatellite/sgp4ext.cpp
gsatellite/sgp4ext.h
gsatellite/sgp4io.cpp
gsatellite/sgp4io.h
gsatellite/sgp4unit.cpp
gsatellite/sgp4unit.h
gsatellite/stdsat.h
Satellite.hpp Satellite.hpp
Satellite.cpp Satellite.cpp
Satellites.hpp Satellites.hpp
Satellites.cpp Satellites.cpp
gui/StelDialogPlugin.hpp
gui/StelDialogPlugin.cpp
gui/SatellitesDialog.hpp gui/SatellitesDialog.hpp
gui/SatellitesDialog.cpp gui/SatellitesDialog.cpp
) )
SET(SatellitesDialog_UIS SET(SatellitesDialog_UIS
gui/satellitesDialog.ui gui/satellitesDialog.ui
) )
QT4_WRAP_UI(SatellitesDialog_UIS_H ${SatellitesDialog_UIS}) QT4_WRAP_UI(SatellitesDialog_UIS_H ${SatellitesDialog_UIS})
SET(Satellites_RES ../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 # Add here all the files which require moc compilation
# that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc.. # that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc..
SET(Satellites_MOC_HDRS SET(Satellites_MOC_HDRS
Satellites.hpp Satellites.hpp
gui/StelDialogPlugin.hpp
gui/SatellitesDialog.hpp gui/SatellitesDialog.hpp
) )
# After this call, Satellites_MOC_SRCS = moc_Satellites.cxx # After this call, Satellites_MOC_SRCS = moc_Satellites.cxx
QT4_WRAP_CPP(Satellites_MOC_SRCS ${Satellites_MOC_HDRS}) 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)
skipping to change at line 70 skipping to change at line 84
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 _MOC_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})
IF(WIN32) SET_TARGET_PROPERTIES(Satellites-static PROPERTIES COMPILE_FLAGS "-D
SET_TARGET_PROPERTIES(Satellites-static PROPERTIES COMPILE_F QT_STATICPLUGIN")
LAGS "-DQT_STATICPLUGIN")
ELSE()
SET_TARGET_PROPERTIES(Satellites-static PROPERTIES COMPILE_F
LAGS "-fPIC -DQT_STATICPLUGIN")
ENDIF()
ADD_DEPENDENCIES(AllStaticPlugins Satellites-static) ADD_DEPENDENCIES(AllStaticPlugins Satellites-static)
ENDIF() ENDIF()
 End of changes. 6 change blocks. 
19 lines changed or deleted 28 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/