CMakeLists.txt   CMakeLists.txt 
SET(glues_lib_SRCS SET(glues_lib_SRCS
external/glues_stel/source/glues_error.c core/external/glues_stel/source/glues_error.c
external/glues_stel/source/glues_error.h core/external/glues_stel/source/glues_error.h
external/glues_stel/source/glues.h core/external/glues_stel/source/glues.h
external/glues_stel/source/glues_mipmap.c core/external/glues_stel/source/libtess/dict.h
external/glues_stel/source/glues_mipmap.h core/external/glues_stel/source/libtess/dict.c
external/glues_stel/source/libtess/dict.h core/external/glues_stel/source/libtess/dict-list.h
external/glues_stel/source/libtess/dict.c core/external/glues_stel/source/libtess/geom.c
external/glues_stel/source/libtess/dict-list.h core/external/glues_stel/source/libtess/geom.h
external/glues_stel/source/libtess/geom.c core/external/glues_stel/source/libtess/memalloc.c
external/glues_stel/source/libtess/geom.h core/external/glues_stel/source/libtess/memalloc.h
external/glues_stel/source/libtess/memalloc.c core/external/glues_stel/source/libtess/mesh.c
external/glues_stel/source/libtess/memalloc.h core/external/glues_stel/source/libtess/mesh.h
external/glues_stel/source/libtess/mesh.c core/external/glues_stel/source/libtess/normal.c
external/glues_stel/source/libtess/mesh.h core/external/glues_stel/source/libtess/normal.h
external/glues_stel/source/libtess/normal.c core/external/glues_stel/source/libtess/priorityq.c
external/glues_stel/source/libtess/normal.h core/external/glues_stel/source/libtess/priorityq.h
external/glues_stel/source/libtess/priorityq.c core/external/glues_stel/source/libtess/priorityq-heap.h
external/glues_stel/source/libtess/priorityq.h core/external/glues_stel/source/libtess/priorityq-heap.i
external/glues_stel/source/libtess/priorityq-heap.h core/external/glues_stel/source/libtess/priorityq-sort.h
external/glues_stel/source/libtess/priorityq-heap.i core/external/glues_stel/source/libtess/render.c
external/glues_stel/source/libtess/priorityq-sort.h core/external/glues_stel/source/libtess/render.h
external/glues_stel/source/libtess/render.c core/external/glues_stel/source/libtess/sweep.c
external/glues_stel/source/libtess/render.h core/external/glues_stel/source/libtess/sweep.h
external/glues_stel/source/libtess/sweep.c core/external/glues_stel/source/libtess/tess.c
external/glues_stel/source/libtess/sweep.h core/external/glues_stel/source/libtess/tess.h
external/glues_stel/source/libtess/tess.c core/external/glues_stel/source/libtess/tessmono.c
external/glues_stel/source/libtess/tess.h core/external/glues_stel/source/libtess/tessmono.h
external/glues_stel/source/libtess/tessmono.c
external/glues_stel/source/libtess/tessmono.h
) )
IF (OPENGL_MODE STREQUAL "Desktop") IF (OPENGL_MODE STREQUAL "Desktop")
SET(gl_lib_SRCS external/GLee.c external/GLee.h) SET(gl_lib_SRCS core/external/GLee.c core/external/GLee.h)
ENDIF() ENDIF()
IF(OPENGL_MODE STREQUAL "ES2") IF(OPENGL_MODE STREQUAL "ES2")
SET(gl_lib_SRCS external/GLee.h) SET(gl_lib_SRCS core/external/GLee.h)
ENDIF() ENDIF()
SET(stellarium_lib_SRCS SET(stellarium_lib_SRCS
core/StelAudioMgr.hpp core/StelAudioMgr.hpp
core/StelAudioMgr.cpp core/StelAudioMgr.cpp
core/StelGeodesicGrid.cpp core/StelGeodesicGrid.cpp
core/StelGeodesicGrid.hpp core/StelGeodesicGrid.hpp
core/StelLoadingBar.cpp
core/StelLoadingBar.hpp
core/StelMovementMgr.cpp core/StelMovementMgr.cpp
core/StelMovementMgr.hpp core/StelMovementMgr.hpp
core/StelNavigator.cpp core/StelNavigator.cpp
core/StelNavigator.hpp core/StelNavigator.hpp
core/StelObserver.cpp core/StelObserver.cpp
core/StelObserver.hpp core/StelObserver.hpp
core/StelLocation.hpp core/StelLocation.hpp
core/StelLocation.cpp core/StelLocation.cpp
core/StelLocationMgr.hpp core/StelLocationMgr.hpp
core/StelLocationMgr.cpp core/StelLocationMgr.cpp
skipping to change at line 106 skipping to change at line 102
core/StelPluginInterface.hpp core/StelPluginInterface.hpp
core/StelSkyCultureMgr.cpp core/StelSkyCultureMgr.cpp
core/StelSkyCultureMgr.hpp core/StelSkyCultureMgr.hpp
core/StelTextureMgr.cpp core/StelTextureMgr.cpp
core/StelTextureMgr.hpp core/StelTextureMgr.hpp
core/StelTexture.cpp core/StelTexture.cpp
core/StelTexture.hpp core/StelTexture.hpp
core/StelTextureTypes.hpp core/StelTextureTypes.hpp
core/StelToneReproducer.cpp core/StelToneReproducer.cpp
core/StelToneReproducer.hpp core/StelToneReproducer.hpp
core/StelStyle.hpp
core/StelSkyLayerMgr.cpp core/StelSkyLayerMgr.cpp
core/StelSkyLayerMgr.hpp core/StelSkyLayerMgr.hpp
core/StelSkyLayer.hpp core/StelSkyLayer.hpp
core/StelSkyLayer.cpp core/StelSkyLayer.cpp
core/StelFader.hpp core/StelFader.hpp
core/StelSphereGeometry.cpp core/StelSphereGeometry.cpp
core/StelSphereGeometry.hpp core/StelSphereGeometry.hpp
core/OctahedronPolygon.cpp core/OctahedronPolygon.cpp
core/OctahedronPolygon.hpp core/OctahedronPolygon.hpp
core/StelIniParser.cpp core/StelIniParser.cpp
skipping to change at line 135 skipping to change at line 130
core/SimbadSearcher.hpp core/SimbadSearcher.hpp
core/SimbadSearcher.cpp core/SimbadSearcher.cpp
core/StelSphericalIndex.hpp core/StelSphericalIndex.hpp
core/StelSphericalIndex.cpp core/StelSphericalIndex.cpp
core/StelVertexArray.hpp core/StelVertexArray.hpp
core/StelVertexArray.cpp core/StelVertexArray.cpp
core/StelGuiBase.hpp core/StelGuiBase.hpp
core/StelGuiBase.cpp core/StelGuiBase.cpp
core/StelViewportEffect.hpp core/StelViewportEffect.hpp
core/StelViewportEffect.cpp core/StelViewportEffect.cpp
core/TrailGroup.hpp
core/TrailGroup.cpp
core/RefractionExtinction.hpp
core/RefractionExtinction.cpp
core/StelLoadingBar.cpp
core/StelLoadingBar.hpp
${gl_lib_SRCS} ${gl_lib_SRCS}
external/fixx11h.h core/external/fixx11h.h
external/gettext.h core/external/gettext.h
external/kfilter/kfilterdev.h core/external/kfilter/kfilterdev.h
external/kfilter/kfilterdev.cpp core/external/kfilter/kfilterdev.cpp
external/kfilter/kfilterbase.h core/external/kfilter/kfilterbase.h
external/kfilter/kfilterbase.cpp core/external/kfilter/kfilterbase.cpp
external/kfilter/kgzipfilter.h core/external/kfilter/kgzipfilter.h
external/kfilter/kgzipfilter.cpp core/external/kfilter/kgzipfilter.cpp
external/kfilter/kzip.h core/external/kfilter/kzip.h
external/kfilter/kzip.cpp core/external/kfilter/kzip.cpp
external/kfilter/klimitediodevice.h core/external/kfilter/klimitediodevice.h
external/kfilter/klimitediodevice.cpp core/external/kfilter/klimitediodevice.cpp
external/kfilter/karchive.h core/external/kfilter/karchive.h
external/kfilter/karchive.cpp core/external/kfilter/karchive.cpp
${glues_lib_SRCS} ${glues_lib_SRCS}
planetsephems/calc_interpolated_elements.c core/planetsephems/calc_interpolated_elements.c
planetsephems/calc_interpolated_elements.h core/planetsephems/calc_interpolated_elements.h
planetsephems/elliptic_to_rectangular.c core/planetsephems/elliptic_to_rectangular.c
planetsephems/elliptic_to_rectangular.h core/planetsephems/elliptic_to_rectangular.h
planetsephems/elp82b.c core/planetsephems/elp82b.c
planetsephems/elp82b.h core/planetsephems/elp82b.h
planetsephems/gust86.c core/planetsephems/gust86.c
planetsephems/gust86.h core/planetsephems/gust86.h
planetsephems/l1.c core/planetsephems/l1.c
planetsephems/l1.h core/planetsephems/l1.h
planetsephems/marssat.c core/planetsephems/marssat.c
planetsephems/marssat.h core/planetsephems/marssat.h
planetsephems/misc_stellplanet.c core/planetsephems/pluto.c
planetsephems/misc_stellplanet.h core/planetsephems/pluto.h
planetsephems/pluto.c core/planetsephems/sideral_time.c
planetsephems/pluto.h core/planetsephems/sideral_time.h
planetsephems/sideral_time.c core/planetsephems/stellplanet.c
planetsephems/sideral_time.h core/planetsephems/stellplanet.h
planetsephems/stellplanet.c core/planetsephems/tass17.c
planetsephems/stellplanet.h core/planetsephems/tass17.h
planetsephems/tass17.c core/planetsephems/vsop87.c
planetsephems/tass17.h core/planetsephems/vsop87.h
planetsephems/vsop87.c
planetsephems/vsop87.h core/modules/Atmosphere.cpp
core/modules/Atmosphere.hpp
modules/Atmosphere.cpp core/modules/Constellation.cpp
modules/Atmosphere.hpp core/modules/Constellation.hpp
modules/Constellation.cpp core/modules/ConstellationMgr.cpp
modules/Constellation.hpp core/modules/ConstellationMgr.hpp
modules/ConstellationMgr.cpp core/modules/GridLinesMgr.cpp
modules/ConstellationMgr.hpp core/modules/GridLinesMgr.hpp
modules/GridLinesMgr.cpp core/modules/LabelMgr.hpp
modules/GridLinesMgr.hpp core/modules/LabelMgr.cpp
modules/LabelMgr.hpp core/modules/Landscape.cpp
modules/LabelMgr.cpp core/modules/Landscape.hpp
modules/Landscape.cpp core/modules/LandscapeMgr.cpp
modules/Landscape.hpp core/modules/LandscapeMgr.hpp
modules/LandscapeMgr.cpp core/modules/Meteor.cpp
modules/LandscapeMgr.hpp core/modules/Meteor.hpp
modules/Meteor.cpp core/modules/MeteorMgr.cpp
modules/Meteor.hpp core/modules/MeteorMgr.hpp
modules/MeteorMgr.cpp core/modules/MilkyWay.cpp
modules/MeteorMgr.hpp core/modules/MilkyWay.hpp
modules/MilkyWay.cpp core/modules/Nebula.cpp
modules/MilkyWay.hpp core/modules/Nebula.hpp
modules/Nebula.cpp core/modules/NebulaMgr.cpp
modules/Nebula.hpp core/modules/NebulaMgr.hpp
modules/NebulaMgr.cpp core/modules/Orbit.cpp
modules/NebulaMgr.hpp core/modules/Orbit.hpp
modules/Orbit.cpp core/modules/Planet.cpp
modules/Orbit.hpp core/modules/Planet.hpp
modules/Planet.cpp core/modules/Skybright.cpp
modules/Planet.hpp core/modules/Skybright.hpp
modules/ScreenImageMgr.hpp core/modules/Skylight.cpp
modules/ScreenImageMgr.cpp core/modules/Skylight.hpp
modules/Skybright.cpp core/modules/SolarSystem.cpp
modules/Skybright.hpp core/modules/SolarSystem.hpp
modules/Skylight.cpp core/modules/Solve.hpp
modules/Skylight.hpp core/modules/Star.cpp
modules/SolarSystem.cpp core/modules/Star.hpp
modules/SolarSystem.hpp core/modules/StarMgr.cpp
modules/Solve.hpp core/modules/StarMgr.hpp
modules/Star.cpp core/modules/StarWrapper.cpp
modules/Star.hpp core/modules/StarWrapper.hpp
modules/StarMgr.cpp core/modules/ZoneArray.cpp
modules/StarMgr.hpp core/modules/ZoneArray.hpp
modules/StarWrapper.cpp core/modules/ZoneData.hpp
modules/StarWrapper.hpp
modules/Telescope.cpp
modules/Telescope.hpp
modules/TelescopeMgr.cpp
modules/TelescopeMgr.hpp
modules/ZoneArray.cpp
modules/ZoneArray.hpp
modules/ZoneData.hpp
scripting/StelScriptMgr.cpp
scripting/StratoscriptPreprocessor.cpp
scripting/StelScriptMgr.hpp
scripting/ScriptSleeper.cpp
scripting/ScriptSleeper.hpp
scripting/StelMainScriptAPI.cpp
scripting/StelMainScriptAPI.hpp
scripting/StelMainScriptAPIProxy.cpp
scripting/StelMainScriptAPIProxy.hpp
StelMainGraphicsView.hpp StelMainGraphicsView.hpp
StelMainGraphicsView.cpp StelMainGraphicsView.cpp
StelMainWindow.hpp StelMainWindow.hpp
StelMainWindow.cpp StelMainWindow.cpp
StelLogger.hpp StelLogger.hpp
StelLogger.cpp StelLogger.cpp
CLIProcessor.hpp CLIProcessor.hpp
CLIProcessor.cpp CLIProcessor.cpp
translations.h translations.h
) )
IF(ENABLE_SCRIPTING)
SET(stellarium_lib_SRCS ${stellarium_lib_SRCS}
scripting/StelScriptMgr.cpp
scripting/StratoscriptPreprocessor.cpp
scripting/StelScriptMgr.hpp
scripting/ScreenImageMgr.hpp
scripting/ScreenImageMgr.cpp
scripting/StelMainScriptAPI.cpp
scripting/StelMainScriptAPI.hpp
scripting/StelMainScriptAPIProxy.cpp
scripting/StelMainScriptAPIProxy.hpp
)
ENDIF()
IF(WIN32) IF(WIN32)
SET(stellarium_lib_SRCS ${stellarium_lib_SRCS} SET(stellarium_lib_SRCS ${stellarium_lib_SRCS}
external/kdewin32/basetyps.h core/external/kdewin32/basetyps.h
external/kdewin32/byteswap.h core/external/kdewin32/byteswap.h
external/kdewin32/comcat.h core/external/kdewin32/comcat.h
external/kdewin32/dirent.h core/external/kdewin32/dirent.h
external/kdewin32/docobj.h core/external/kdewin32/docobj.h
external/kdewin32/errno.h core/external/kdewin32/errno.h
external/kdewin32/fcntl.h core/external/kdewin32/fcntl.h
external/kdewin32/grp.h core/external/kdewin32/grp.h
external/kdewin32/ifaddrs.h core/external/kdewin32/ifaddrs.h
external/kdewin32/langinfo.h core/external/kdewin32/langinfo.h
external/kdewin32/mshtml.h core/external/kdewin32/mshtml.h
external/kdewin32/netdb.h core/external/kdewin32/netdb.h
external/kdewin32/nl_types.h core/external/kdewin32/nl_types.h
external/kdewin32/oaidl.h core/external/kdewin32/oaidl.h
external/kdewin32/objfwd.h core/external/kdewin32/objfwd.h
external/kdewin32/objidl.h core/external/kdewin32/objidl.h
external/kdewin32/ocidl.h core/external/kdewin32/ocidl.h
external/kdewin32/olectl.h core/external/kdewin32/olectl.h
external/kdewin32/oleidl.h core/external/kdewin32/oleidl.h
external/kdewin32/pwd.h core/external/kdewin32/pwd.h
external/kdewin32/signal.h core/external/kdewin32/signal.h
external/kdewin32/stdio.h core/external/kdewin32/stdio.h
external/kdewin32/stdlib.h core/external/kdewin32/stdlib.h
external/kdewin32/string.h core/external/kdewin32/string.h
external/kdewin32/strings.h core/external/kdewin32/strings.h
external/kdewin32/syslog.h core/external/kdewin32/syslog.h
external/kdewin32/time.h core/external/kdewin32/time.h
external/kdewin32/unistd.h core/external/kdewin32/unistd.h
external/kdewin32/unknwn.h core/external/kdewin32/unknwn.h
external/kdewin32/wchar.h core/external/kdewin32/wchar.h
external/kdewin32/arpa/inet.h core/external/kdewin32/arpa/inet.h
external/kdewin32/asm/byteorder.h core/external/kdewin32/asm/byteorder.h
external/kdewin32/net/if.h core/external/kdewin32/net/if.h
external/kdewin32/netinet/in.h core/external/kdewin32/netinet/in.h
external/kdewin32/netinet/tcp.h core/external/kdewin32/netinet/tcp.h
external/kdewin32/sys/ioctl.h core/external/kdewin32/sys/ioctl.h
external/kdewin32/sys/mman.h core/external/kdewin32/sys/mman.h
external/kdewin32/sys/resource.h core/external/kdewin32/sys/resource.h
external/kdewin32/sys/select.h core/external/kdewin32/sys/select.h
external/kdewin32/sys/signal.h core/external/kdewin32/sys/signal.h
external/kdewin32/sys/socket.h core/external/kdewin32/sys/socket.h
external/kdewin32/sys/stat.h core/external/kdewin32/sys/stat.h
external/kdewin32/sys/time.h core/external/kdewin32/sys/time.h
external/kdewin32/sys/times.h core/external/kdewin32/sys/times.h
external/kdewin32/sys/types.h core/external/kdewin32/sys/types.h
external/kdewin32/sys/uio.h core/external/kdewin32/sys/uio.h
external/kdewin32/sys/un.h core/external/kdewin32/sys/un.h
external/kdewin32/sys/unistd.h core/external/kdewin32/sys/unistd.h
external/kdewin32/sys/utsname.h core/external/kdewin32/sys/utsname.h
external/kdewin32/sys/wait.h core/external/kdewin32/sys/wait.h
external/kdewin32/bind/inet_ntop.c core/external/kdewin32/bind/inet_ntop.c
external/kdewin32/bind/inet_pton.c core/external/kdewin32/bind/inet_pton.c
external/kdewin32/dirent.c core/external/kdewin32/dirent.c
external/kdewin32/errno.c core/external/kdewin32/errno.c
external/kdewin32/fsync.c core/external/kdewin32/fsync.c
external/kdewin32/getenv.c core/external/kdewin32/getenv.c
external/kdewin32/grp.c core/external/kdewin32/grp.c
external/kdewin32/inet.c core/external/kdewin32/inet.c
external/kdewin32/mmap.c core/external/kdewin32/mmap.c
external/kdewin32/nl_langinfo.c core/external/kdewin32/nl_langinfo.c
external/kdewin32/net.c core/external/kdewin32/net.c
external/kdewin32/pwd.c core/external/kdewin32/pwd.c
external/kdewin32/realpath.c core/external/kdewin32/realpath.c
external/kdewin32/resource.c core/external/kdewin32/resource.c
external/kdewin32/signal.c core/external/kdewin32/signal.c
external/kdewin32/stdlib.c core/external/kdewin32/stdlib.c
external/kdewin32/string.c core/external/kdewin32/string.c
external/kdewin32/strptime.c core/external/kdewin32/strptime.c
external/kdewin32/syslog.c core/external/kdewin32/syslog.c
external/kdewin32/time.c core/external/kdewin32/time.c
external/kdewin32/uname.c core/external/kdewin32/uname.c
external/kdewin32/unistd.c core/external/kdewin32/unistd.c
) )
ENDIF(WIN32) ENDIF(WIN32)
IF(APPLE) SET(stellarium_exe_SRCS main.cpp)
SET(stellarium_lib_SRCS
${stellarium_lib_SRCS}
core/StelMacosxDirs.cpp
core/StelMacosxDirs.hpp)
ENDIF(APPLE)
SET(stellarium_exe_SRCS
main.cpp
)
################# compiles resources files ############ ################# compiles resources files ############
SET(stellarium_RES SET(stellarium_RES ${CMAKE_SOURCE_DIR}/data/mainRes.qrc)
${CMAKE_SOURCE_DIR}/data/mainRes.qrc)
QT4_ADD_RESOURCES(stellarium_RES_CXX ${stellarium_RES}) QT4_ADD_RESOURCES(stellarium_RES_CXX ${stellarium_RES})
################# compiles moc files ############ ################# compiles moc files ############
# 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(stellarium_MOC_HDRS SET(stellarium_MOC_HDRS
core/StelAudioMgr.hpp core/StelAudioMgr.hpp
core/StelModuleMgr.hpp core/StelModuleMgr.hpp
core/StelObserver.hpp core/StelObserver.hpp
core/StelApp.hpp core/StelApp.hpp
skipping to change at line 368 skipping to change at line 354
core/StelTexture.hpp core/StelTexture.hpp
core/StelMovementMgr.hpp core/StelMovementMgr.hpp
core/MultiLevelJsonBase.hpp core/MultiLevelJsonBase.hpp
core/StelSkyImageTile.hpp core/StelSkyImageTile.hpp
core/StelSkyPolygon.hpp core/StelSkyPolygon.hpp
core/StelSkyDrawer.hpp core/StelSkyDrawer.hpp
core/StelSkyLayerMgr.hpp core/StelSkyLayerMgr.hpp
core/StelSkyLayer.hpp core/StelSkyLayer.hpp
core/StelSkyCultureMgr.hpp core/StelSkyCultureMgr.hpp
core/SimbadSearcher.hpp core/SimbadSearcher.hpp
modules/ConstellationMgr.hpp core/modules/ConstellationMgr.hpp
modules/GridLinesMgr.hpp core/modules/GridLinesMgr.hpp
modules/LabelMgr.hpp core/modules/LabelMgr.hpp
modules/LandscapeMgr.hpp core/modules/LandscapeMgr.hpp
modules/MeteorMgr.hpp core/modules/MeteorMgr.hpp
modules/MilkyWay.hpp core/modules/MilkyWay.hpp
modules/NebulaMgr.hpp core/modules/NebulaMgr.hpp
modules/ScreenImageMgr.hpp core/modules/SolarSystem.hpp
modules/SolarSystem.hpp core/modules/StarMgr.hpp
modules/StarMgr.hpp
modules/Telescope.hpp
modules/TelescopeMgr.hpp
scripting/StelScriptMgr.hpp
scripting/StelMainScriptAPI.hpp
scripting/StelMainScriptAPIProxy.hpp
StelMainGraphicsView.hpp StelMainGraphicsView.hpp
StelMainWindow.hpp StelMainWindow.hpp
) )
IF(ENABLE_SCRIPTING)
SET(stellarium_MOC_HDRS ${stellarium_MOC_HDRS}
scripting/ScreenImageMgr.hpp
scripting/StelScriptMgr.hpp
scripting/StelMainScriptAPI.hpp
scripting/StelMainScriptAPIProxy.hpp
)
ENDIF()
# After this call, stellarium_MOC_SRCS = moc_stellarium.cxx # After this call, stellarium_MOC_SRCS = moc_stellarium.cxx
QT4_WRAP_CPP(stellarium_MOC_SRCS ${stellarium_MOC_HDRS}) QT4_WRAP_CPP(stellarium_MOC_SRCS ${stellarium_MOC_HDRS})
########################################################################### ################## ########################################################################### ##################
############################# Standard GUI plugin compilation ############# ################## ############################# Standard GUI plugin compilation ############# ##################
########################################################################### ################## ########################################################################### ##################
IF (GUI_MODE STREQUAL "Standard") IF (GUI_MODE STREQUAL "Standard")
SET(stellarium_gui_SRCS SET(stellarium_gui_SRCS
gui/StelGui.hpp gui/StelGui.hpp
gui/StelGui.cpp gui/StelGui.cpp
gui/SkyGui.hpp gui/SkyGui.hpp
gui/SkyGui.cpp gui/SkyGui.cpp
gui/StelStyle.hpp
gui/StelGuiItems.hpp gui/StelGuiItems.hpp
gui/StelGuiItems.cpp gui/StelGuiItems.cpp
gui/HelpDialog.hpp gui/HelpDialog.hpp
gui/HelpDialog.cpp gui/HelpDialog.cpp
gui/Dialog.hpp gui/Dialog.hpp
gui/Dialog.cpp gui/Dialog.cpp
gui/MapLabel.hpp gui/MapLabel.hpp
gui/MapLabel.cpp gui/MapLabel.cpp
gui/AngleSpinBox.hpp gui/AngleSpinBox.hpp
gui/AngleSpinBox.cpp gui/AngleSpinBox.cpp
skipping to change at line 464 skipping to change at line 455
gui/StelScriptSyntaxHighlighter.hpp) gui/StelScriptSyntaxHighlighter.hpp)
SET(stellarium_UIS ${stellarium_UIS} SET(stellarium_UIS ${stellarium_UIS}
gui/scriptConsole.ui) gui/scriptConsole.ui)
ENDIF(ENABLE_SCRIPT_CONSOLE) ENDIF(ENABLE_SCRIPT_CONSOLE)
QT4_WRAP_UI(stellarium_UIS_H ${stellarium_UIS}) QT4_WRAP_UI(stellarium_UIS_H ${stellarium_UIS})
# After this call, stellarium_gui_MOC_SRCS = moc_stellarium_gui.cxx # After this call, stellarium_gui_MOC_SRCS = moc_stellarium_gui.cxx
QT4_WRAP_CPP(stellarium_gui_MOC_SRCS ${stellarium_gui_MOC_HDRS}) QT4_WRAP_CPP(stellarium_gui_MOC_SRCS ${stellarium_gui_MOC_HDRS})
# compiles resources files
SET(stellarium_gui_RES ${CMAKE_SOURCE_DIR}/data/gui/guiRes.qrc)
QT4_ADD_RESOURCES(stellarium_gui_RES_CXX ${stellarium_gui_RES})
SET(extLinkerOption ${QT_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${OPENGL_ LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES} ) SET(extLinkerOption ${QT_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${OPENGL_ LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES} )
# Compile the static library # Compile the static library
ADD_LIBRARY(StelGuiLib STATIC ${stellarium_gui_SRCS} ${stellarium_gu i_MOC_SRCS} ${stellarium_UIS_H}) ADD_LIBRARY(StelGuiLib STATIC ${stellarium_gui_SRCS} ${stellarium_gu i_MOC_SRCS} ${stellarium_UIS_H} ${stellarium_gui_RES_CXX})
TARGET_LINK_LIBRARIES(StelGuiLib ${StelMain} ${extLinkerOption}) TARGET_LINK_LIBRARIES(StelGuiLib ${StelMain} ${extLinkerOption})
SET_TARGET_PROPERTIES(StelGuiLib PROPERTIES COMPILE_FLAGS "-fPIC -DQ IF(WIN32)
T_STATICPLUGIN") SET_TARGET_PROPERTIES(StelGuiLib PROPERTIES COMPILE_FLAGS "-
DQT_STATICPLUGIN")
ELSE()
SET_TARGET_PROPERTIES(StelGuiLib PROPERTIES COMPILE_FLAGS "-
fPIC -DQT_STATICPLUGIN")
ENDIF()
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/${CMAKE_CFG_INTDIR}/libStelGuiLib.a) SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/${CMAKE_CFG_INTDIR}/libStelGuiLib.a)
ADD_DEPENDENCIES(AllStaticPlugins StelGuiLib)
ENDIF() ENDIF()
########################################################################### ################## ########################################################################### ##################
############################ Standard NO GUI plugin compilation ########### ################## ################################ No GUI plugin compilation ################ ##################
########################################################################### ################## ########################################################################### ##################
IF (GUI_MODE STREQUAL "None") IF (GUI_MODE STREQUAL "None")
SET(stellarium_nogui_SRCS SET(stellarium_nogui_SRCS
noGui/StelNoGui.hpp noGui/StelNoGui.hpp
noGui/StelNoGui.cpp) noGui/StelNoGui.cpp)
SET(stellarium_nogui_MOC_HDRS SET(stellarium_nogui_MOC_HDRS
noGui/StelNoGui.hpp) noGui/StelNoGui.hpp)
QT4_WRAP_CPP(stellarium_nogui_MOC_SRCS ${stellarium_nogui_MOC_HDRS}) QT4_WRAP_CPP(stellarium_nogui_MOC_SRCS ${stellarium_nogui_MOC_HDRS})
ADD_LIBRARY(StelNoGuiLib STATIC ${stellarium_nogui_SRCS} ${stellariu m_nogui_MOC_SRCS}) ADD_LIBRARY(StelNoGuiLib STATIC ${stellarium_nogui_SRCS} ${stellariu m_nogui_MOC_SRCS})
TARGET_LINK_LIBRARIES(StelNoGuiLib ${extLinkerOption}) TARGET_LINK_LIBRARIES(StelNoGuiLib ${extLinkerOption})
SET_TARGET_PROPERTIES(StelNoGuiLib PROPERTIES COMPILE_FLAGS "-fPIC - IF(WIN32)
DQT_STATICPLUGIN") SET_TARGET_PROPERTIES(StelNoGuiLib PROPERTIES COMPILE_FLAGS
"-DQT_STATICPLUGIN")
ELSE()
SET_TARGET_PROPERTIES(StelNoGuiLib PROPERTIES COMPILE_FLAGS
"-fPIC -DQT_STATICPLUGIN")
ENDIF()
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/libStelNoGuiLib.a) SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/libStelNoGuiLib.a)
ADD_DEPENDENCIES(AllStaticPlugins StelNoGuiLib)
ENDIF() ENDIF()
########################################################################### ################## ########################################################################### ##################
############################# External GUI plugin compilation ############# ################## ############################# External GUI plugin compilation ############# ##################
########################################################################### ################## ########################################################################### ##################
IF (GUI_MODE STREQUAL "External") IF (GUI_MODE STREQUAL "External")
SET(EXTERNAL_GUI_SRC_PATH "../../MyGui/" CACHE PATH "The location of the plugin main directory i.e. the one containing the top level CMakeLists .txt") SET(EXTERNAL_GUI_SRC_PATH "../../MyGui/" CACHE PATH "The location of the plugin main directory i.e. the one containing the top level CMakeLists .txt")
ADD_SUBDIRECTORY( ${EXTERNAL_GUI_SRC_PATH} externalGui ) ADD_SUBDIRECTORY( ${EXTERNAL_GUI_SRC_PATH} externalGui )
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/externalGui/src/libExternalGui.a) SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/src/externalGui/src/libExternalGui.a)
SET(EXTERNAL_GUI_PLUGIN_EXTRALIBS CACHE STRING "Additionnal link opt ions needed for the GUI plugin") SET(EXTERNAL_GUI_PLUGIN_EXTRALIBS CACHE STRING "Additionnal link opt ions needed for the GUI plugin")
SET(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} ${EXTERNAL_GUI_ PLUGIN_EXTRALIBS}) SET(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} ${EXTERNAL_GUI_ PLUGIN_EXTRALIBS})
ENDIF() ENDIF()
########################################################################### #################### ########################################################################### ####################
################## Static plugins need to be known by the file main.cpp at compilation time ################## Static plugins need to be known by the file StelMainGrap hicsView.cpp at compilation time
################## so add the definitions to the compilation. ################## so add the definitions to the compilation.
################## Also add the full path to the .a libraries at compilatio n time. ################## Also add the full path to the .a libraries at compilatio n time.
IF (BUILD_STATIC_PLUGINS) IF (BUILD_STATIC_PLUGINS)
IF (USE_PLUGIN_HELLOSTELMODULE) IF (USE_PLUGIN_HELLOSTELMODULE)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/HelloStelModule/src/${CMAKE_CFG_INT DIR}/libHelloStelModule.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/HelloStelModule/src/${CMAKE_CFG_INT DIR}/libHelloStelModule.a")
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_HELLOSTELMODULE) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_HELLOSTELMODULE)
ENDIF() ENDIF()
IF (USE_PLUGIN_ANGLEMEASURE) IF (USE_PLUGIN_ANGLEMEASURE)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/AngleMeasure/src/${CMAKE_CFG_INTDIR }/libAngleMeasure.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/AngleMeasure/src/${CMAKE_CFG_INTDIR }/libAngleMeasure.a")
skipping to change at line 527 skipping to change at line 532
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_COMPASSMARKS) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_COMPASSMARKS)
ENDIF() ENDIF()
IF (USE_PLUGIN_SATELLITES) IF (USE_PLUGIN_SATELLITES)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Satellites/src/${CMAKE_CFG_INTDIR}/ libSatellites.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Satellites/src/${CMAKE_CFG_INTDIR}/ libSatellites.a")
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_SATELLITES) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_SATELLITES)
ENDIF() ENDIF()
IF (USE_PLUGIN_TELESCOPECONTROL) IF (USE_PLUGIN_TELESCOPECONTROL)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/TelescopeControl/src/${CMAKE_CFG_IN TDIR}/libTelescopeControl.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/TelescopeControl/src/${CMAKE_CFG_IN TDIR}/libTelescopeControl.a")
IF(WIN32)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_
PLUGINS_LIBRARIES} libwsock32.a)
ENDIF()
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_TELESCOPECONTROL) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_TELESCOPECONTROL)
ENDIF() ENDIF()
IF (USE_PLUGIN_LOGBOOK) IF (USE_PLUGIN_LOGBOOK)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/LogBook/src/${CMAKE_CFG_INTDIR}/lib LogBook.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/LogBook/src/${CMAKE_CFG_INTDIR}/lib LogBook.a")
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_LOGBOOK) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_LOGBOOK)
SET(QT_USE_QTSQL TRUE) SET(QT_USE_QTSQL TRUE)
ENDIF() ENDIF()
IF (USE_PLUGIN_OCULARS) IF (USE_PLUGIN_OCULARS)
skipping to change at line 548 skipping to change at line 556
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_OCULARS) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_OCULARS)
SET(QT_USE_QTSQL TRUE) SET(QT_USE_QTSQL TRUE)
ENDIF() ENDIF()
IF (USE_PLUGIN_TEXTUSERINTERFACE) IF (USE_PLUGIN_TEXTUSERINTERFACE)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/TextUserInterface/src/${CMAKE_CFG_I NTDIR}/libTextUserInterface.a") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/TextUserInterface/src/${CMAKE_CFG_I NTDIR}/libTextUserInterface.a")
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_TEXTUSERINTERFACE) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_TEXTUSERINTERFACE)
ENDIF() ENDIF()
IF (USE_PLUGIN_SVMT) IF (USE_PLUGIN_SVMT)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/plugins/svmt/src/${CMAKE_CFG_INTDIR}/libSVMT .a ${TOKYOC_LIBRARIES}) SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/plugins/svmt/src/${CMAKE_CFG_INTDIR}/libSVMT .a)
IF(APPLE) IF(APPLE)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGIN S_LIBRARIES} "-framework QtDeclarative") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGIN S_LIBRARIES} "-framework QtDeclarative")
ELSE() ELSE()
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGIN S_LIBRARIES} "/usr/local/Trolltech/Qt-4.6.0/lib/libQtDeclarative.so") SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGIN S_LIBRARIES} "/usr/local/Trolltech/Qt-4.7.0/lib/libQtDeclarative.so")
ENDIF() ENDIF()
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_SVMT) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_SVMT)
ENDIF() ENDIF()
IF (USE_PLUGIN_VIRGO) IF (USE_PLUGIN_VIRGO)
SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/plugins/VirGO/src/${CMAKE_CFG_INTDIR}/libVir GO.a ${CFITSIO_LIBRARIES}) SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_ LIBRARIES} ${CMAKE_BINARY_DIR}/plugins/VirGO/src/${CMAKE_CFG_INTDIR}/libVir GO.a ${CFITSIO_LIBRARIES})
ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_VIRGO) ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_VIRGO)
ENDIF() ENDIF()
ENDIF() ENDIF()
########################################################################### ################## ########################################################################### ##################
################################ Build main program ####################### ################## ################################ Build main program ####################### ##################
########################################################################### ################## ########################################################################### ##################
SET(extLinkerOption ${QT_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${OPENGL_LIBRARI SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES}
ES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES} ${ZLIB_LIBRARIES}) ${INTL_LIBRARIES} ${ZLIB_LIBRARIES})
IF(ENABLE_SCRIPTING)
SET(extLinkerOption ${extLinkerOption} ${QT_QTSCRIPT_LIBRARY})
ENDIF()
IF(WIN32)
SET(extLinkerOption ${extLinkerOption} libwinmm.a)
ENDIF()
IF(GENERATE_STELMAINLIB) IF(GENERATE_STELMAINLIB)
ADD_LIBRARY(stelMain SHARED ${stellarium_lib_SRCS} ${stellarium_MOC_SRCS} ${stellarium_RES_CXX}) ADD_LIBRARY(stelMain SHARED ${stellarium_lib_SRCS} ${stellarium_MOC_SRCS} ${stellarium_RES_CXX})
TARGET_LINK_LIBRARIES(stelMain ${extLinkerOption} ${STELLARIUM_STATIC_PLUG INS_LIBRARIES}) TARGET_LINK_LIBRARIES(stelMain ${extLinkerOption} ${STELLARIUM_STATIC_PLUG INS_LIBRARIES})
INSTALL(TARGETS stelMain DESTINATION lib) INSTALL(TARGETS stelMain DESTINATION lib)
ADD_EXECUTABLE(stellarium ${stellarium_exe_SRCS}) ADD_EXECUTABLE(stellarium ${stellarium_exe_SRCS})
#stelMain should be after the plug-ins, otherwise the build crashes #stelMain should be after the plug-ins, otherwise the build crashes
TARGET_LINK_LIBRARIES(stellarium ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} st elMain ${extLinkerOption}) TARGET_LINK_LIBRARIES(stellarium ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} st elMain ${extLinkerOption})
ELSE() ELSE()
ADD_EXECUTABLE(stellarium ${stellarium_lib_SRCS} ${stellarium_MOC_SRCS} ${ stellarium_RES_CXX} ${stellarium_exe_SRCS}) ADD_EXECUTABLE(stellarium ${stellarium_lib_SRCS} ${stellarium_MOC_SRCS} ${ stellarium_RES_CXX} ${stellarium_exe_SRCS})
skipping to change at line 622 skipping to change at line 636
QT4_WRAP_CPP(testStelFileMgr_MOC_SRCS tests/testStelFileMgr.hpp) QT4_WRAP_CPP(testStelFileMgr_MOC_SRCS tests/testStelFileMgr.hpp)
ADD_EXECUTABLE(testStelFileMgr EXCLUDE_FROM_ALL ${tests_testStelFileMgr_SRC S} ${testStelFileMgr_MOC_SRCS}) ADD_EXECUTABLE(testStelFileMgr EXCLUDE_FROM_ALL ${tests_testStelFileMgr_SRC S} ${testStelFileMgr_MOC_SRCS})
TARGET_LINK_LIBRARIES(testStelFileMgr ${extLinkerOptionTest}) TARGET_LINK_LIBRARIES(testStelFileMgr ${extLinkerOptionTest})
ADD_DEPENDENCIES(buildTests testStelFileMgr) ADD_DEPENDENCIES(buildTests testStelFileMgr)
SET(tests_testStelSphereGeometry_SRCS SET(tests_testStelSphereGeometry_SRCS
tests/testStelSphereGeometry.hpp tests/testStelSphereGeometry.hpp
tests/testStelSphereGeometry.cpp tests/testStelSphereGeometry.cpp
core/StelSphereGeometry.hpp core/StelSphereGeometry.hpp
core/StelSphereGeometry.cpp core/StelSphereGeometry.cpp
core/StelVertexArray.hpp
core/StelVertexArray.cpp
core/OctahedronPolygon.hpp core/OctahedronPolygon.hpp
core/OctahedronPolygon.cpp core/OctahedronPolygon.cpp
core/StelJsonParser.hpp core/StelJsonParser.hpp
core/StelJsonParser.cpp core/StelJsonParser.cpp
core/StelUtils.cpp core/StelUtils.cpp
core/StelUtils.hpp core/StelUtils.hpp
${glues_lib_SRCS}) ${glues_lib_SRCS})
QT4_WRAP_CPP(testStelSphereGeometry_MOC_SRCS tests/testStelSphereGeometry.h pp) QT4_WRAP_CPP(testStelSphereGeometry_MOC_SRCS tests/testStelSphereGeometry.h pp)
ADD_EXECUTABLE(testStelSphereGeometry EXCLUDE_FROM_ALL ${tests_testStelSphe reGeometry_SRCS} ${testStelSphereGeometry_MOC_SRCS}) ADD_EXECUTABLE(testStelSphereGeometry EXCLUDE_FROM_ALL ${tests_testStelSphe reGeometry_SRCS} ${testStelSphereGeometry_MOC_SRCS})
TARGET_LINK_LIBRARIES(testStelSphereGeometry ${extLinkerOptionTest} ${QT_QT OPENGL_LIBRARY}) TARGET_LINK_LIBRARIES(testStelSphereGeometry ${extLinkerOptionTest} ${QT_QT OPENGL_LIBRARY})
ADD_DEPENDENCIES(buildTests testStelSphereGeometry) ADD_DEPENDENCIES(buildTests testStelSphereGeometry)
SET(tests_testStelSphericalIndex_SRCS SET(tests_testStelSphericalIndex_SRCS
tests/testStelSphericalIndex.hpp tests/testStelSphericalIndex.hpp
tests/testStelSphericalIndex.cpp tests/testStelSphericalIndex.cpp
core/StelSphericalIndex.hpp core/StelSphericalIndex.hpp
core/StelSphericalIndex.cpp core/StelSphericalIndex.cpp
core/StelSphereGeometry.hpp core/StelSphereGeometry.hpp
core/StelSphereGeometry.cpp core/StelSphereGeometry.cpp
core/StelVertexArray.hpp
core/StelVertexArray.cpp
core/OctahedronPolygon.hpp core/OctahedronPolygon.hpp
core/OctahedronPolygon.cpp core/OctahedronPolygon.cpp
core/StelJsonParser.hpp core/StelJsonParser.hpp
core/StelJsonParser.cpp core/StelJsonParser.cpp
core/StelUtils.cpp core/StelUtils.cpp
core/StelUtils.hpp core/StelUtils.hpp
${glues_lib_SRCS}) ${glues_lib_SRCS})
QT4_WRAP_CPP(tests_testStelSphericalIndex_MOC_SRCS tests/testStelSphericalI ndex.hpp) QT4_WRAP_CPP(tests_testStelSphericalIndex_MOC_SRCS tests/testStelSphericalI ndex.hpp)
ADD_EXECUTABLE(testStelSphericalIndex EXCLUDE_FROM_ALL ${tests_testStelSphe ricalIndex_SRCS} ${tests_testStelSphericalIndex_MOC_SRCS}) ADD_EXECUTABLE(testStelSphericalIndex EXCLUDE_FROM_ALL ${tests_testStelSphe ricalIndex_SRCS} ${tests_testStelSphericalIndex_MOC_SRCS})
TARGET_LINK_LIBRARIES(testStelSphericalIndex ${extLinkerOptionTest} ${QT_QT OPENGL_LIBRARY}) TARGET_LINK_LIBRARIES(testStelSphericalIndex ${extLinkerOptionTest} ${QT_QT OPENGL_LIBRARY})
skipping to change at line 672 skipping to change at line 690
SET(tests_testStelVertexArray_SRCS SET(tests_testStelVertexArray_SRCS
tests/testStelVertexArray.hpp tests/testStelVertexArray.hpp
tests/testStelVertexArray.cpp tests/testStelVertexArray.cpp
core/StelVertexArray.hpp) core/StelVertexArray.hpp)
QT4_WRAP_CPP(tests_testStelVertexArray_MOC_SRCS tests/testStelVertexArray.h pp) QT4_WRAP_CPP(tests_testStelVertexArray_MOC_SRCS tests/testStelVertexArray.h pp)
ADD_EXECUTABLE(testStelVertexArray EXCLUDE_FROM_ALL ${tests_testStelVertexA rray_SRCS} ${tests_testStelVertexArray_MOC_SRCS}) ADD_EXECUTABLE(testStelVertexArray EXCLUDE_FROM_ALL ${tests_testStelVertexA rray_SRCS} ${tests_testStelVertexArray_MOC_SRCS})
TARGET_LINK_LIBRARIES(testStelVertexArray ${extLinkerOptionTest}) TARGET_LINK_LIBRARIES(testStelVertexArray ${extLinkerOptionTest})
ADD_DEPENDENCIES(buildTests testStelVertexArray) ADD_DEPENDENCIES(buildTests testStelVertexArray)
SET(tests_testRefractionExtinction_SRCS
tests/testRefractionExtinction.hpp
tests/testRefractionExtinction.cpp
core/RefractionExtinction.hpp
core/RefractionExtinction.cpp)
QT4_WRAP_CPP(tests_testRefractionExtinction_MOC_SRCS tests/testRefractionEx
tinction.hpp)
ADD_EXECUTABLE(testRefractionExtinction EXCLUDE_FROM_ALL ${tests_testRefrac
tionExtinction_SRCS} ${tests_testRefractionExtinction_MOC_SRCS})
TARGET_LINK_LIBRARIES(testRefractionExtinction ${extLinkerOptionTest})
ADD_DEPENDENCIES(buildTests testRefractionExtinction)
ADD_CUSTOM_TARGET(tests COMMENT "Run the Stellarium unit tests") ADD_CUSTOM_TARGET(tests COMMENT "Run the Stellarium unit tests")
# ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testDates WORKING_DI RECTORY ${CMAKE_BINARY_DIR}/src/) # ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testDates WORKING_DI RECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelFileMgr WORKIN G_DIRECTORY ${CMAKE_BINARY_DIR}/src/) ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelFileMgr WORKIN G_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelSphereGeometry WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/) ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelSphereGeometry WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelSphericalIndex WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/) ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelSphericalIndex WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelJsonParser WOR KING_DIRECTORY ${CMAKE_BINARY_DIR}/src/) ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelJsonParser WOR KING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelVertexArray WO RKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/) ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testStelVertexArray WO RKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_CUSTOM_COMMAND(TARGET tests POST_BUILD COMMAND ./testRefractionExtincti on WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
ADD_DEPENDENCIES(tests buildTests) ADD_DEPENDENCIES(tests buildTests)
 End of changes. 32 change blocks. 
244 lines changed or deleted 278 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/