~ubuntu-branches/debian/experimental/stellarium/experimental

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2012-09-02 16:40:25 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20120902164025-wcm0g7j3uq09557q
Tags: 0.11.4a-1
* Imported Upstream version 0.11.4a
* Add 'DM-Upload-Allowed: yes' to debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
SET(stellarium_lib_SRCS
39
39
        core/StelAudioMgr.hpp
40
40
        core/StelAudioMgr.cpp
 
41
        core/StelVideoMgr.hpp
 
42
        core/StelVideoMgr.cpp
41
43
        core/StelGeodesicGrid.cpp
42
44
        core/StelGeodesicGrid.hpp
43
45
        core/StelMovementMgr.cpp
335
337
# that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc..
336
338
SET(stellarium_MOC_HDRS
337
339
        core/StelAudioMgr.hpp
 
340
        core/StelVideoMgr.hpp
338
341
        core/StelModuleMgr.hpp
339
342
        core/StelObjectMgr.hpp
340
343
        core/StelObserver.hpp
412
415
                gui/AddRemoveLandscapesDialog.cpp
413
416
                gui/AtmosphereDialog.hpp
414
417
                gui/AtmosphereDialog.cpp
415
 
                gui/CustomInfoDialog.hpp
416
 
                gui/CustomInfoDialog.cpp
417
418
                gui/StelDialog.hpp
418
419
                gui/StelDialog.cpp)
419
420
 
433
434
                gui/ConfigurationDialog.hpp
434
435
                gui/AddRemoveLandscapesDialog.hpp
435
436
                gui/AtmosphereDialog.hpp
436
 
                gui/CustomInfoDialog.hpp
437
437
                gui/StelDialog.hpp)
438
438
 
439
439
        ################# compiles .ui files ############
445
445
        gui/searchDialogGui.ui
446
446
        gui/configurationDialog.ui
447
447
        gui/AtmosphereDialog.ui
448
 
        gui/CustomInfoDialog.ui
449
448
        gui/addRemoveLandscapesDialog.ui)
450
449
 
451
450
        IF(ENABLE_SCRIPT_CONSOLE)
520
519
        ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_HELLOSTELMODULE)
521
520
  ENDIF()
522
521
 
 
522
IF (USE_PLUGIN_OBSERVABILITY)
 
523
       SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Observability/src/${CMAKE_CFG_INTDIR}/libObservability.a")
 
524
       ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_OBSERVABILITY)
 
525
ENDIF()
 
526
 
523
527
  IF (USE_PLUGIN_ANGLEMEASURE)
524
528
        SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/AngleMeasure/src/${CMAKE_CFG_INTDIR}/libAngleMeasure.a")
525
529
        ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_ANGLEMEASURE)
584
588
        SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Pulsars/src/${CMAKE_CFG_INTDIR}/libPulsars.a")
585
589
        ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_PULSARS)
586
590
  ENDIF()
 
591
  
 
592
  IF (USE_PLUGIN_EXOPLANETS)
 
593
    SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Exoplanets/src/${CMAKE_CFG_INTDIR}/libExoplanets.a")
 
594
    ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_EXOPLANETS)
 
595
  ENDIF()
587
596
 
588
597
  IF (USE_PLUGIN_SVMT)
589
598
        SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${CMAKE_BINARY_DIR}/plugins/svmt/src/${CMAKE_CFG_INTDIR}/libSVMT.a)
614
623
        SET(extLinkerOption ${extLinkerOption} libwinmm.a)
615
624
ENDIF()
616
625
 
 
626
IF(WIN32 AND ENABLE_WINDOWS_EXE_ICON)
 
627
  IF(RC_COMPILER_PATH)
 
628
    ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}/stellarium-rc.o
 
629
                       COMMAND ${RC_COMPILER_PATH} ${CMAKE_SOURCE_DIR}/data/stellarium.rc ${CMAKE_BINARY_DIR}/stellarium-rc.o
 
630
                       WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/data)
 
631
    SET(stellarium_exe_SRCS ${stellarium_exe_SRCS} ${CMAKE_BINARY_DIR}/stellarium-rc.o)
 
632
  ENDIF(RC_COMPILER_PATH)
 
633
ENDIF(WIN32 AND ENABLE_WINDOWS_EXE_ICON)
 
634
 
617
635
IF(GENERATE_STELMAINLIB)
618
636
 ADD_LIBRARY(stelMain SHARED ${stellarium_lib_SRCS} ${stellarium_MOC_SRCS} ${stellarium_RES_CXX})
619
637
 TARGET_LINK_LIBRARIES(stelMain ${extLinkerOption} ${STELLARIUM_STATIC_PLUGINS_LIBRARIES})