summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/CMakeLists.txt
blob: 78f6b46530ffc7c08ad3a87ec17f322b523e77c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
add_subdirectory( indi  )
add_subdirectory( tools )
add_subdirectory( data  )
add_subdirectory( icons )

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/tools
  ${CMAKE_BINARY_DIR}/kstars/kstars/tools
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)

##### kstars (executable)

tde_add_executable( kstars AUTOMOC

  SOURCES
        addcatdialogui.ui addlinkdialogui.ui
        ccdpreviewui.ui contrastbrightnessgui.ui
        details_data.ui details_position.ui
        details_links.ui details_database.ui
        details_log.ui devmanager.ui
        fitsheaderdialog.ui focusdialogdlg.ui
        fovdialogui.ui histdialog.ui
        imagereductionui.ui imgsequencedlgui.ui
        indiconf.ui indihostconf.ui
        kswizardui.ui newfovui.ui
        opsadvancedui.ui opscatalogui.ui
        opscolorsui.ui opsguidesui.ui
        opssolarsystemui.ui statform.ui
        streamformui.ui telescopewizard.ui
        thumbnailpickerui.ui thumbnaileditorui.ui
        telescopepropui.ui
        addcatdialog.cpp addlinkdialog.cpp
        colorscheme.cpp conbridlg.cpp
        csegment.cpp deepskyobject.cpp
        detaildialog.cpp devicemanager.cpp
        dms.cpp dmsbox.cpp
        filesource.cpp finddialog.cpp
        fitshistogram.cpp ccdpreviewwg.cpp
        customcatalog.cpp fitsimage.cpp
        fitsprocess.cpp fitsviewer.cpp
        focusdialog.cpp fov.cpp
        fovdialog.cpp geolocation.cpp
        imagereductiondlg.cpp imagesequence.cpp
        imageviewer.cpp indidevice.cpp
        indidriver.cpp indielement.cpp
        indifitsconf.cpp indigroup.cpp
        indimenu.cpp indiproperty.cpp
        indistd.cpp infobox.cpp
        infoboxes.cpp jupitermoons.cpp
        ksasteroid.cpp kscomet.cpp
        ksfilereader.cpp ksmoon.cpp
        ksnewstuff.cpp ksnumbers.cpp
        ksplanet.cpp ksplanetbase.cpp
        kspluto.cpp kspopupmenu.cpp
        kssun.cpp kstars.cpp
        kstarsactions.cpp kstarsdata.cpp
        kstarsdatetime.cpp kstarsdcop.cpp
        kstarsinit.cpp kstarssplash.cpp
        ksutils.cpp kswizard.cpp
        locationdialog.cpp magnitudespinbox.cpp
        main.cpp mapcanvas.cpp
        objectnamelist.cpp opsadvanced.cpp
        opscatalog.cpp opscolors.cpp
        opsguides.cpp opssolarsystem.cpp
        planetcatalog.cpp simclock.cpp
        skymap.cpp skymapdraw.cpp
        skymapevents.cpp skyobject.cpp
        skyobjectname.cpp skypoint.cpp
        stardatasink.cpp starobject.cpp
        starpixmap.cpp streamwg.cpp
        telescopewizardprocess.cpp telescopeprop.cpp
        timebox.cpp timedialog.cpp
        timespinbox.cpp timestepbox.cpp
        timeunitbox.cpp timezonerule.cpp
        toggleaction.cpp thumbnailpicker.cpp
        thumbnaileditor.cpp draglistbox.cpp
        Options.kcfgc kstarsinterface.skel
        simclockinterface.skel
  LINK
     tdecore-shared
     tdeui-shared
     tdeio-shared
     tdeprint-shared
     tdenewstuff-shared
     tdeeduplot-shared
     tdeeduui-shared
     extdate-shared
     kstarstools-static
     lilxml-static
     indicom-static
     
  DEPENDENCIES
     kstarstools-static
     tdeeduplot-shared
     tdeeduui-shared
     extdate-shared
     lilxml-static
     indicom-static

  DESTINATION ${BIN_INSTALL_DIR}
)


##### icons

tde_install_icons( )


##### other data

install(
    FILES kstarsui.rc fitsviewer.rc
    DESTINATION ${DATA_INSTALL_DIR}/kstars/
)

install(
    FILES kstars.desktop
    DESTINATION ${XDG_APPS_INSTALL_DIR}
)

install(
    FILES kstars.kcfg
    DESTINATION ${KCFG_INSTALL_DIR}
)

install(
    FILES kstarsrc
    DESTINATION ${CONFIG_INSTALL_DIR}
)

install(
    FILES kstarsinterface.h simclockinterface.h
    DESTINATION ${INCLUDE_INSTALL_DIR}
)