summaryrefslogtreecommitdiffstats
path: root/tdeui/CMakeLists.txt
blob: 829971e006518ee2822805afff91fbe5d99de9ce (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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

if( BUILD_TDEUI_TESTS )
  add_subdirectory( tests )
endif( BUILD_TDEUI_TESTS )

add_subdirectory( about )
add_subdirectory( kdetrayproxy )

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/tdecore
  ${CMAKE_SOURCE_DIR}/dcop
  ${CMAKE_SOURCE_DIR}/tdecore
  ${CMAKE_SOURCE_DIR}/tdefx
  ${CMAKE_SOURCE_DIR}/tdeio
  ${CMAKE_SOURCE_DIR}/tdeio/tdeio
  ${CMAKE_SOURCE_DIR}/tdeio/tdefile
  ${FREETYPE_INCLUDE_DIRS}
)

link_directories(
  ${TDECORE_LIBRARY_DIRS}
)


##### headers ###################################

install( FILES
    kprogressbox.h kprogress.h kcolordlg.h
    kcolordialog.h tdeselect.h
    kdatepik.h kdatepicker.h kdatetbl.h tdefontdialog.h tdepopupmenu.h
    tdefontrequester.h ktabctl.h kstatusbar.h
    tdemainwindow.h tdemainwindowiface.h tdetoolbar.h tdemenubar.h
    knuminput.h kseparator.h klineedit.h
    krestrictedline.h kcolorbutton.h kcolorbtn.h
    ksystemtray.h kdockwindow.h kbuttonbox.h
    keditcl.h kled.h keditlistbox.h
    kwizard.h kkeydialog.h kkeybutton.h
    kurllabel.h kruler.h kcursor.h
    klineeditdlg.h kinputdialog.h kactivelabel.h
    kcharselect.h kcolordrag.h qxembed.h
    knumvalidator.h kdialog.h kdialogbase.h
    kjanuswidget.h tdeaboutdialog.h
    kauthicon.h tdemessagebox.h ksharedpixmap.h
    kdualcolorbtn.h kdualcolorbutton.h tdetoolbarbutton.h
    tdetoolbarradiogroup.h ktextbrowser.h
    tdeaction.h tdeactioncollection.h tdeactionclasses.h khelpmenu.h kswitchlanguagedialog.h
    tdecmodule.h kcmenumngr.h kpanelmenu.h kpanelappmenu.h
    tdeactionshortcutlist.h kstdaction.h kcombobox.h
    kiconview.h tdelistview.h tdelistbox.h kbugreport.h kpassdlg.h
    kxmlguiclient.h kxmlgui.h kxmlguibuilder.h kxmlguifactory.h
    kpixmapio.h kwordwrap.h
    kedittoolbar.h kdockwidget.h kanimwidget.h
    krootpixmap.h tdeabouttde.h tdeaboutapplication.h
    kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h
    kpanelextension.h tdecompletionbox.h ksqueezedtextlabel.h
    kcommand.h twindowlistmenu.h tdefontcombo.h tdeaccelgen.h ktip.h
    kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h
    kstringvalidator.h twindowinfo.h
    ktextedit.h kpassivepopup.h tdepassivepopupstack.h
    kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h
    tdespell.h ksconfig.h tdespelldlg.h ksyntaxhighlighter.h
    ktabbar.h ktabwidget.h ksplashscreen.h tdeconfigdialog.h
    tdeactionselector.h klanguagebutton.h tdelistviewsearchline.h
    kpixmapregionselectorwidget.h kpixmapregionselectordialog.h
    kiconviewsearchline.h tdetoolbarlabelaction.h tdeshortcutdialog.h
  DESTINATION ${INCLUDE_INSTALL_DIR} )


##### other data ################################

install( FILES
    abouttde.png ktip-bulb.png ktip-background.png
  DESTINATION ${DATA_INSTALL_DIR}/tdeui/pics )

install( FILES
    ui_standards.rc
  DESTINATION ${CONFIG_INSTALL_DIR}/ui )

install( PROGRAMS
    preparetips
  DESTINATION ${BIN_INSTALL_DIR} )


##### libtdeui ##################################

set( target tdeui )

set( ${target}_SRCS
  qxembed.cpp ksharedpixmap.cpp kpixmapio.cpp
  tdepopupmenu.cpp tdetoolbar.cpp tdeaction.cpp kstdaction.cpp
  tdeactioncollection.cpp tdeactionclasses.cpp
  kurllabel.cpp tdemenubar.cpp kinputdialog.cpp
  knuminput.cpp klineedit.cpp tdelistview.cpp kprogress.cpp
  kprogressbox.cpp kcolordialog.cpp tdeselect.cpp kdatepicker.cpp
  kdatetbl.cpp tdefontrequester.cpp tdefontdialog.cpp ktabctl.cpp
  kstatusbar.cpp tdemainwindow.cpp
  keditlistbox.cpp kscrollview.cpp
  kseparator.cpp krestrictedline.cpp
  kcolorbutton.cpp ksystemtray.cpp
  kbuttonbox.cpp keditcl1.cpp keditcl2.cpp kled.cpp
  tdeshortcutdialog_simple.ui tdeshortcutdialog_advanced.ui
  tdeshortcutdialog.cpp kkeybutton.cpp kkeydialog.cpp
  kruler.cpp kcursor.cpp klineeditdlg.cpp
  kcharselect.cpp kcolordrag.cpp
  knumvalidator.cpp kdialog.cpp kdialogbase.cpp
  kjanuswidget.cpp tdeaboutdialog.cpp
  kauthicon.cpp tdemessagebox.cpp kdualcolorbutton.cpp
  tdetoolbarradiogroup.cpp tdetoolbarbutton.cpp
  ktextbrowser.cpp khelpmenu.cpp kswitchlanguagedialog.cpp
  kcmenumngr.cpp kpanelmenu.cpp
  kiconview.cpp tdelistbox.cpp kwordwrap.cpp kbugreport.cpp
  kcombobox.cpp kpassdlg.cpp kxmlguiclient.cpp kxmlguifactory.cpp
  kxmlguifactory_p.cpp kxmlguibuilder.cpp kedittoolbar.cpp
  kpanelappmenu.cpp kdockwidget.cpp kdockwidget_private.cpp
  kanimwidget.cpp krootpixmap.cpp tdeabouttde.cpp
  tdeaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp
  kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp
  tdecompletionbox.cpp ksqueezedtextlabel.cpp tdecmodule.cpp
  kcommand.cpp twindowlistmenu.cpp tdefontcombo.cpp ktip.cpp
  kdatewidget.cpp karrowbutton.cpp tdemainwindowiface.cpp
  tdemainwindowiface.skel kguiitem.cpp kstdguiitem.cpp
  kstringvalidator.cpp kactivelabel.cpp
  twindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp
  tdepassivepopupstack.cpp tdetoolbarhandler.cpp kdatetimewidget.cpp
  ktimewidget.cpp ktimezonewidget.cpp ksconfig.cpp tdespelldlg.cpp
  tdespell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp
  ksplashscreen.cpp tdespellui.ui tdeconfigdialog.cpp
  tdeactionselector.cpp klanguagebutton.cpp tdelistviewsearchline.cpp
  kpixmapregionselectorwidget.cpp kpixmapregionselectordialog.cpp
  kwhatsthismanager.cpp kiconviewsearchline.cpp
  tdetoolbarlabelaction.cpp
)

tde_add_library( ${target} SHARED AUTOMOC
  SOURCES ${${target}_SRCS}
  VERSION 14.0.0
  LINK tdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${XEXT_LIBRARIES}
  DESTINATION ${LIB_INSTALL_DIR}
)


##### libtdespell #################################

set( target tdespell )

configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )

tde_add_library( ${target} SHARED
  SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
  LINK ${TQT_LIBRARIES}
  VERSION 14.0.0
  DESTINATION ${LIB_INSTALL_DIR}
)