CMakeLists.txt   CMakeLists.txt 
INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SO URCE_DIR}/src/core ${CMAKE_SOURCE_DIR}/src/gui ${CMAKE_SOURCE_DIR}/src/modu les ${CMAKE_SOURCE_DIR}/src/planetsephems ${CMAKE_SOURCE_DIR}/src/stelutils ${CMAKE_SOURCE_DIR}/src/stelutils/iniparser ${FreeType2_INCLUDE_DIR} ${OPE NGL_INCLUDE_DIR} ${CURL_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR} ${Boost_INCLUDE_D IRS} ${SDL_INCLUDE_DIR} ${ICONV_INCLUDE_DIR} ${INTL_INCLUDE_DIR} ${SDLMIXER _INCLUDE_DIR} ${QT_INCLUDE_DIR}/QtScript ${QT_QTSCRIPT_INCLUDE_DIR} ${CMAKE _BINARY_DIR}/src) INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SO URCE_DIR}/src/core ${CMAKE_SOURCE_DIR}/src/gui ${CMAKE_SOURCE_DIR}/src/modu les ${CMAKE_SOURCE_DIR}/src/planetsephems ${CMAKE_SOURCE_DIR}/src/external ${CMAKE_SOURCE_DIR}/src/scripting ${CMAKE_SOURCE_DIR}/src/external/kfilter ${FreeType2_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${CURL_INCLUDE_DIRS} ${JPEG _INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${SDL_INCLUDE_DIR} ${ICONV_INCLUDE_DIR} ${INTL_INCLUDE_DIR} ${SDLMIXER_INCLUDE_DIR} ${QT_INCLUDE_DIR}/QtScript ${Q T_QTSCRIPT_INCLUDE_DIR} ${CMAKE_BINARY_DIR}/src)
########### next target ############### ########### next target ###############
SET(stellarium_lib_SRCS SET(stellarium_lib_SRCS
core/Audio.cpp core/StelAudioMgr.hpp
core/Audio.hpp core/StelAudioMgr.cpp
core/GeodesicGrid.cpp core/StelDownloadMgr.hpp
core/GeodesicGrid.hpp core/StelDownloadMgr.cpp
core/LoadingBar.cpp core/StelGeodesicGrid.cpp
core/LoadingBar.hpp core/StelGeodesicGrid.hpp
core/MappingClasses.cpp core/StelLoadingBar.cpp
core/MappingClasses.hpp core/StelLoadingBar.hpp
core/Mapping.cpp core/StelMovementMgr.cpp
core/Mapping.hpp core/StelMovementMgr.hpp
core/MovementMgr.cpp core/StelNavigator.cpp
core/MovementMgr.hpp core/StelNavigator.hpp
core/Navigator.cpp core/StelObserver.cpp
core/Navigator.hpp core/StelObserver.hpp
core/Observer.cpp core/StelLocation.hpp
core/Observer.hpp core/StelLocation.cpp
core/Location.hpp core/StelLocationMgr.hpp
core/Location.cpp core/StelLocationMgr.cpp
core/LocationMgr.hpp core/StelProjector.cpp
core/LocationMgr.cpp core/StelProjector.hpp
core/Projector.cpp core/StelProjectorClasses.cpp
core/Projector.hpp core/StelProjectorClasses.hpp
core/SFont.cpp core/StelProjectorType.hpp
core/SFont.hpp core/StelFont.cpp
core/SkyDrawer.cpp core/StelFont.hpp
core/SkyDrawer.hpp core/StelSkyDrawer.cpp
core/SkyImageTile.hpp core/StelSkyDrawer.hpp
core/SkyImageTile.cpp core/StelPainter.hpp
core/StelPainter.cpp
core/MultiLevelJsonBase.hpp
core/MultiLevelJsonBase.cpp
core/StelSkyImageTile.hpp
core/StelSkyImageTile.cpp
core/StelSkyPolygon.hpp
core/StelSkyPolygon.cpp
core/SphericMirrorCalculator.cpp core/SphericMirrorCalculator.cpp
core/SphericMirrorCalculator.hpp core/SphericMirrorCalculator.hpp
core/StelApp.cpp core/StelApp.cpp
core/StelApp.hpp core/StelApp.hpp
core/StelCore.cpp core/StelCore.cpp
core/StelCore.hpp core/StelCore.hpp
core/StelFileMgr.cpp core/StelFileMgr.cpp
core/StelFileMgr.hpp core/StelFileMgr.hpp
core/StelFontMgr.cpp core/StelFontMgr.cpp
core/StelFontMgr.hpp core/StelFontMgr.hpp
skipping to change at line 65 skipping to change at line 72
core/StelObjectMgr.cpp core/StelObjectMgr.cpp
core/StelObjectMgr.hpp core/StelObjectMgr.hpp
core/StelObjectModule.cpp core/StelObjectModule.cpp
core/StelObjectModule.hpp core/StelObjectModule.hpp
core/StelObjectType.hpp core/StelObjectType.hpp
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/STexture.cpp core/StelTexture.cpp
core/STexture.hpp core/StelTexture.hpp
core/STextureTypes.hpp core/StelTextureTypes.hpp
core/ToneReproducer.cpp core/StelToneReproducer.cpp
core/ToneReproducer.hpp core/StelToneReproducer.hpp
core/ViewportDistorter.cpp core/StelViewportDistorter.cpp
core/ViewportDistorter.hpp core/StelViewportDistorter.hpp
core/StelStyle.hpp core/StelStyle.hpp
core/StelSkyImageMgr.cpp
stelutils/bytes.h core/StelSkyImageMgr.hpp
stelutils/callback_helpers.hpp core/StelFader.hpp
stelutils/callbacks.hpp core/StelGrid.hpp
stelutils/Fader.hpp core/StelGridObject.hpp
stelutils/fixx11h.h core/StelSphereGeometry.cpp
stelutils/gettext.h core/StelSphereGeometry.hpp
stelutils/GLee.c core/StelIniParser.cpp
stelutils/GLee.h core/StelIniParser.hpp
stelutils/Grid.cpp core/StelUtils.cpp
stelutils/Grid.hpp core/StelUtils.hpp
stelutils/GridObject.hpp core/StelTranslator.cpp
stelutils/SimpleGrid.cpp core/StelTranslator.hpp
stelutils/SimpleGrid.hpp core/StelTreeGrid.cpp
stelutils/SphereGeometry.cpp core/StelTreeGrid.hpp
stelutils/SphereGeometry.hpp core/VecMath.hpp
stelutils/StelIniParser.cpp core/StelJsonParser.hpp
stelutils/StelIniParser.hpp core/StelJsonParser.cpp
stelutils/StelUtils.cpp core/SimbadSearcher.hpp
stelutils/StelUtils.hpp core/SimbadSearcher.cpp
stelutils/TextEntryDateTimeValidator.cpp
stelutils/TextEntryDateTimeValidator.hpp external/bytes.h
stelutils/Translator.cpp external/callback_helpers.hpp
stelutils/Translator.hpp external/callbacks.hpp
stelutils/TreeGrid.cpp external/fixx11h.h
stelutils/TreeGrid.hpp external/gettext.h
stelutils/typeface.cpp external/GLee.c
stelutils/typeface.h external/GLee.h
stelutils/vecmath.h external/typeface.cpp
stelutils/QtJsonParser.hpp external/typeface.h
stelutils/QtJsonParser.cpp external/kfilter/kfilterdev.h
external/kfilter/kfilterdev.cpp
external/kfilter/kfilterbase.h
external/kfilter/kfilterbase.cpp
external/kfilter/kgzipfilter.h
external/kfilter/kgzipfilter.cpp
external/kfilter/kzip.h
external/kfilter/kzip.cpp
external/kfilter/klimitediodevice.h
external/kfilter/klimitediodevice.cpp
external/kfilter/karchive.h
external/kfilter/karchive.cpp
planetsephems/calc_interpolated_elements.c planetsephems/calc_interpolated_elements.c
planetsephems/calc_interpolated_elements.h planetsephems/calc_interpolated_elements.h
planetsephems/elliptic_to_rectangular.c planetsephems/elliptic_to_rectangular.c
planetsephems/elliptic_to_rectangular.h planetsephems/elliptic_to_rectangular.h
planetsephems/elp82b.c planetsephems/elp82b.c
planetsephems/elp82b.h planetsephems/elp82b.h
planetsephems/gust86.c planetsephems/gust86.c
planetsephems/gust86.h planetsephems/gust86.h
planetsephems/l1.c planetsephems/l1.c
skipping to change at line 138 skipping to change at line 156
planetsephems/vsop87.h planetsephems/vsop87.h
modules/Atmosphere.cpp modules/Atmosphere.cpp
modules/Atmosphere.hpp modules/Atmosphere.hpp
modules/Constellation.cpp modules/Constellation.cpp
modules/Constellation.hpp modules/Constellation.hpp
modules/ConstellationMgr.cpp modules/ConstellationMgr.cpp
modules/ConstellationMgr.hpp modules/ConstellationMgr.hpp
modules/GridLinesMgr.cpp modules/GridLinesMgr.cpp
modules/GridLinesMgr.hpp modules/GridLinesMgr.hpp
modules/LabelMgr.hpp
modules/LabelMgr.cpp
modules/Landscape.cpp modules/Landscape.cpp
modules/Landscape.hpp modules/Landscape.hpp
modules/LandscapeMgr.cpp modules/LandscapeMgr.cpp
modules/LandscapeMgr.hpp modules/LandscapeMgr.hpp
modules/Meteor.cpp modules/Meteor.cpp
modules/Meteor.hpp modules/Meteor.hpp
modules/MeteorMgr.cpp modules/MeteorMgr.cpp
modules/MeteorMgr.hpp modules/MeteorMgr.hpp
modules/MilkyWay.cpp modules/MilkyWay.cpp
modules/MilkyWay.hpp modules/MilkyWay.hpp
modules/Nebula.cpp modules/Nebula.cpp
modules/Nebula.hpp modules/Nebula.hpp
modules/NebulaMgr.cpp modules/NebulaMgr.cpp
modules/NebulaMgr.hpp modules/NebulaMgr.hpp
modules/Orbit.cpp modules/Orbit.cpp
modules/Orbit.hpp modules/Orbit.hpp
modules/Planet.cpp modules/Planet.cpp
modules/Planet.hpp modules/Planet.hpp
modules/SkyBackground.cpp modules/ScreenImageMgr.hpp
modules/SkyBackground.hpp modules/ScreenImageMgr.cpp
modules/Skybright.cpp modules/Skybright.cpp
modules/Skybright.hpp modules/Skybright.hpp
modules/Skylight.cpp modules/Skylight.cpp
modules/Skylight.hpp modules/Skylight.hpp
modules/SolarSystem.cpp modules/SolarSystem.cpp
modules/SolarSystem.hpp modules/SolarSystem.hpp
modules/Solve.hpp modules/Solve.hpp
modules/Star.cpp modules/Star.cpp
modules/Star.hpp modules/Star.hpp
modules/StarMgr.cpp modules/StarMgr.cpp
modules/StarMgr.hpp modules/StarMgr.hpp
modules/StarWrapper.cpp modules/StarWrapper.cpp
modules/StarWrapper.hpp modules/StarWrapper.hpp
modules/StringArray.cpp
modules/StringArray.hpp
modules/Telescope.cpp modules/Telescope.cpp
modules/Telescope.hpp modules/Telescope.hpp
modules/TelescopeMgr.cpp modules/TelescopeMgr.cpp
modules/TelescopeMgr.hpp modules/TelescopeMgr.hpp
# modules/TextUI.cpp # modules/TextUI.cpp
# modules/TextUI.hpp # modules/TextUI.hpp
modules/ZoneArray.cpp modules/ZoneArray.cpp
modules/ZoneArray.hpp modules/ZoneArray.hpp
modules/ZoneData.hpp modules/ZoneData.hpp
skipping to change at line 205 skipping to change at line 223
gui/LocationDialog.hpp gui/LocationDialog.hpp
gui/LocationDialog.cpp gui/LocationDialog.cpp
gui/DateTimeDialog.hpp gui/DateTimeDialog.hpp
gui/DateTimeDialog.cpp gui/DateTimeDialog.cpp
gui/ViewDialog.hpp gui/ViewDialog.hpp
gui/ViewDialog.cpp gui/ViewDialog.cpp
gui/SearchDialog.hpp gui/SearchDialog.hpp
gui/SearchDialog.cpp gui/SearchDialog.cpp
gui/ConfigurationDialog.hpp gui/ConfigurationDialog.hpp
gui/ConfigurationDialog.cpp gui/ConfigurationDialog.cpp
gui/DownloadPopup.hpp
gui/DownloadPopup.cpp
gui/StelDialog.hpp gui/StelDialog.hpp
gui/StelDialog.cpp gui/StelDialog.cpp
QtScriptMgr.cpp scripting/StelScriptPreProcessor.cpp
QtScriptMgr.hpp scripting/StelScriptMgr.cpp
scripting/StelScriptMgr.hpp
StelMainGraphicsView.hpp StelMainGraphicsView.hpp
StelMainGraphicsView.cpp StelMainGraphicsView.cpp
StelMainWindow.hpp StelMainWindow.hpp
StelMainWindow.cpp StelMainWindow.cpp
translations.h translations.h
) )
IF(MACOSX) IF(WIN32)
SET(stellarium_lib_SRCS ${stellarium_lib_SRCS}
external/kdewin32/basetyps.h
external/kdewin32/byteswap.h
external/kdewin32/comcat.h
external/kdewin32/dirent.h
external/kdewin32/docobj.h
external/kdewin32/errno.h
external/kdewin32/fcntl.h
external/kdewin32/grp.h
external/kdewin32/ifaddrs.h
external/kdewin32/langinfo.h
external/kdewin32/mshtml.h
external/kdewin32/netdb.h
external/kdewin32/nl_types.h
external/kdewin32/oaidl.h
external/kdewin32/objfwd.h
external/kdewin32/objidl.h
external/kdewin32/ocidl.h
external/kdewin32/olectl.h
external/kdewin32/oleidl.h
external/kdewin32/pwd.h
external/kdewin32/signal.h
external/kdewin32/stdio.h
external/kdewin32/stdlib.h
external/kdewin32/string.h
external/kdewin32/strings.h
external/kdewin32/syslog.h
external/kdewin32/time.h
external/kdewin32/unistd.h
external/kdewin32/unknwn.h
external/kdewin32/wchar.h
external/kdewin32/arpa/inet.h
external/kdewin32/asm/byteorder.h
external/kdewin32/net/if.h
external/kdewin32/netinet/in.h
external/kdewin32/netinet/tcp.h
external/kdewin32/sys/ioctl.h
external/kdewin32/sys/mman.h
external/kdewin32/sys/resource.h
external/kdewin32/sys/select.h
external/kdewin32/sys/signal.h
external/kdewin32/sys/socket.h
external/kdewin32/sys/stat.h
external/kdewin32/sys/time.h
external/kdewin32/sys/times.h
external/kdewin32/sys/types.h
external/kdewin32/sys/uio.h
external/kdewin32/sys/un.h
external/kdewin32/sys/unistd.h
external/kdewin32/sys/utsname.h
external/kdewin32/sys/wait.h
external/kdewin32/bind/inet_ntop.c
external/kdewin32/bind/inet_pton.c
external/kdewin32/dirent.c
external/kdewin32/errno.c
external/kdewin32/fsync.c
external/kdewin32/getenv.c
external/kdewin32/grp.c
external/kdewin32/inet.c
external/kdewin32/mmap.c
external/kdewin32/nl_langinfo.c
external/kdewin32/net.c
external/kdewin32/pwd.c
external/kdewin32/realpath.c
external/kdewin32/resource.c
external/kdewin32/signal.c
external/kdewin32/stdlib.c
external/kdewin32/string.c
external/kdewin32/strptime.c
external/kdewin32/syslog.c
external/kdewin32/time.c
external/kdewin32/uname.c
external/kdewin32/unistd.c
)
ENDIF(WIN32)
IF(APPLE)
SET(stellarium_lib_SRCS SET(stellarium_lib_SRCS
${stellarium_lib_SRCS} ${stellarium_lib_SRCS}
stelutils/MacosxDirs.cpp core/StelMacosxDirs.cpp
stelutils/MacosxDirs.hpp) core/StelMacosxDirs.hpp)
ENDIF(MACOSX) ENDIF(APPLE)
SET(stellarium_exe_SRCS SET(stellarium_exe_SRCS
main.cpp main.cpp
) )
################# compiles .ui files ############ ################# compiles .ui files ############
SET(stellarium_UIS SET(stellarium_UIS
gui/locationDialogGui.ui gui/locationDialogGui.ui
gui/helpDialogGui.ui gui/helpDialogGui.ui
gui/dateTimeDialogGui.ui gui/dateTimeDialogGui.ui
gui/viewDialog.ui gui/viewDialog.ui
gui/searchDialogGui.ui gui/searchDialogGui.ui
gui/configurationDialog.ui gui/configurationDialog.ui
gui/downloadPopup.ui
) )
QT4_WRAP_UI(stellarium_UIS_H ${stellarium_UIS}) QT4_WRAP_UI(stellarium_UIS_H ${stellarium_UIS})
################# 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/StelDownloadMgr.hpp
core/StelModuleMgr.hpp core/StelModuleMgr.hpp
core/Observer.hpp core/StelObserver.hpp
core/StelApp.hpp core/StelApp.hpp
core/Navigator.hpp core/StelNavigator.hpp
core/LocationMgr.hpp core/StelLocationMgr.hpp
core/Projector.hpp core/StelCore.hpp
core/StelAppGraphicsScene.hpp core/StelAppGraphicsScene.hpp
core/STexture.hpp core/StelTexture.hpp
core/MovementMgr.hpp core/StelMovementMgr.hpp
core/SkyImageTile.hpp core/MultiLevelJsonBase.hpp
core/SkyDrawer.hpp core/StelSkyImageTile.hpp
core/StelSkyPolygon.hpp
core/StelSkyDrawer.hpp
core/StelSkyImageMgr.hpp
core/SimbadSearcher.hpp
modules/ConstellationMgr.hpp modules/ConstellationMgr.hpp
modules/LandscapeMgr.hpp
modules/GridLinesMgr.hpp modules/GridLinesMgr.hpp
modules/LabelMgr.hpp
modules/LandscapeMgr.hpp
modules/MeteorMgr.hpp
modules/MilkyWay.hpp modules/MilkyWay.hpp
modules/NebulaMgr.hpp modules/NebulaMgr.hpp
modules/SkyBackground.hpp modules/ScreenImageMgr.hpp
modules/SolarSystem.hpp modules/SolarSystem.hpp
modules/MeteorMgr.hpp
modules/StarMgr.hpp modules/StarMgr.hpp
modules/TelescopeMgr.hpp
gui/StelGui.hpp gui/StelGui.hpp
gui/StelGuiItems.hpp gui/StelGuiItems.hpp
gui/HelpDialog.hpp gui/HelpDialog.hpp
gui/Dialog.hpp gui/Dialog.hpp
gui/MapLabel.hpp gui/MapLabel.hpp
gui/AngleSpinBox.hpp gui/AngleSpinBox.hpp
gui/LocationDialog.hpp gui/LocationDialog.hpp
gui/DateTimeDialog.hpp gui/DateTimeDialog.hpp
gui/ViewDialog.hpp gui/ViewDialog.hpp
gui/SearchDialog.hpp gui/SearchDialog.hpp
gui/ConfigurationDialog.hpp gui/ConfigurationDialog.hpp
gui/DownloadPopup.hpp
gui/StelDialog.hpp gui/StelDialog.hpp
scripting/StelScriptMgr.hpp
StelMainGraphicsView.hpp StelMainGraphicsView.hpp
StelMainWindow.hpp StelMainWindow.hpp
QtScriptMgr.hpp
) )
# 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})
# Dummy target depending on ${stellarium_UIS_H} to trigger ui compilations # Dummy target depending on ${stellarium_UIS_H} to trigger ui compilations
ADD_CUSTOM_TARGET(GenerateUiHeaders ALL DEPENDS ${stellarium_UIS_H}) ADD_CUSTOM_TARGET(GenerateUiHeaders ALL DEPENDS ${stellarium_UIS_H})
SET(extLinkerOption ${QT_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${FreeType2_LIBR ARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL_LIBRARY } ${ICONV_LIBRARIES} ${INTL_LIBRARIES} ${SDLMIXER_LIBRARY}) SET(extLinkerOption ${QT_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${FreeType2_LIBR ARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL_LIBRARY } ${ICONV_LIBRARIES} ${INTL_LIBRARIES} ${SDLMIXER_LIBRARY})
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}) TARGET_LINK_LIBRARIES(stelMain ${extLinkerOption})
INSTALL(TARGETS stelMain DESTINATION lib) INSTALL(TARGETS stelMain DESTINATION lib)
ADD_EXECUTABLE(stellarium ${stellarium_exe_SRCS}) ADD_EXECUTABLE(stellarium ${stellarium_exe_SRCS})
TARGET_LINK_LIBRARIES(stellarium stelMain ${extLinkerOption}) TARGET_LINK_LIBRARIES(stellarium stelMain ${extLinkerOption})
ELSE(GENERATE_STELMAINLIB) 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})
TARGET_LINK_LIBRARIES(stellarium ${extLinkerOption}) TARGET_LINK_LIBRARIES(stellarium ${extLinkerOption})
IF(APPLE) IF(APPLE)
SET_TARGET_PROPERTIES(stellarium PROPERTIES LINK_FLAGS " -dylib_file /Sys tem/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/S ystem/Library/Frameworks/works/OpenGL.framework/Versions/A/Libraries/libGL. dylib -framework Cocoa") SET_TARGET_PROPERTIES(stellarium PROPERTIES LINK_FLAGS " -dylib_file /Sys tem/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/S ystem/Library/Frameworks/works/OpenGL.framework/Versions/A/Libraries/libGL. dylib -framework Cocoa")
ENDIF(APPLE) ENDIF()
ENDIF(GENERATE_STELMAINLIB) ENDIF()
INSTALL(TARGETS stellarium DESTINATION bin) INSTALL(TARGETS stellarium DESTINATION bin)
## tests ## tests
SET(tests_testdates_SRCS SET(tests_testdates_SRCS
stelutils/StelUtils.cpp core/StelUtils.cpp
stelutils/StelUtils.hpp core/StelUtils.hpp
tests/testdates.cpp tests/testdates.cpp)
stelutils/TextEntryDateTimeValidator.hpp
stelutils/TextEntryDateTimeValidator.cpp)
ADD_EXECUTABLE(testdates ${tests_testdates_SRCS}) ADD_EXECUTABLE(testdates ${tests_testdates_SRCS})
TARGET_LINK_LIBRARIES(testdates ${extLinkerOption}) TARGET_LINK_LIBRARIES(testdates ${extLinkerOption})
ADD_TEST(test_testdates ${EXECUTABLE_OUTPUT_PATH}/testdates) ADD_TEST(test_testdates ${EXECUTABLE_OUTPUT_PATH}/testdates)
SET(tests_testSphereGeometry_SRCS SET(tests_testStelSphereGeometry_SRCS
tests/testSphereGeometry.cpp tests/testStelSphereGeometry.cpp
stelutils/SphereGeometry.hpp core/StelSphereGeometry.hpp
stelutils/SphereGeometry.cpp core/StelSphereGeometry.cpp
stelutils/StelUtils.cpp core/StelUtils.cpp
stelutils/StelUtils.hpp) core/StelUtils.hpp)
ADD_EXECUTABLE(testSphereGeometry ${tests_testSphereGeometry_SRCS}) ADD_EXECUTABLE(testStelSphereGeometry ${tests_testStelSphereGeometry_SRCS})
TARGET_LINK_LIBRARIES(testSphereGeometry ${extLinkerOption}) TARGET_LINK_LIBRARIES(testStelSphereGeometry ${extLinkerOption})
ADD_TEST(test_testSphereGeometry ${EXECUTABLE_OUTPUT_PATH}/testSphereGeomet ADD_TEST(test_testStelSphereGeometry ${EXECUTABLE_OUTPUT_PATH}/testStelSphe
ry) reGeometry)
 End of changes. 28 change blocks. 
97 lines changed or deleted 205 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/