summaryrefslogtreecommitdiffstats
path: root/kdeui/CMakeLists.txt
blob: 3a4c8e8dc7117fa706531f054f36143d071166fa (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
168
169
170
171
172
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

if( BUILD_KDEUI_TESTS )
  add_subdirectory( tests )
endif( BUILD_KDEUI_TESTS )

add_subdirectory( about )
add_subdirectory( kdetrayproxy )

add_definitions(
  ${TQT_CFLAGS_OTHER}
  -include tqt.h
)

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/kdecore
  ${CMAKE_SOURCE_DIR}/dcop
  ${CMAKE_SOURCE_DIR}/kdecore
  ${CMAKE_SOURCE_DIR}/kdefx
  ${CMAKE_SOURCE_DIR}/kio
  ${CMAKE_SOURCE_DIR}/kio/kio
  ${CMAKE_SOURCE_DIR}/kio/kfile
  ${FREETYPE_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


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

install( FILES
    kprogressbox.h kprogress.h kcolordlg.h
    kcolordialog.h kselect.h
    kdatepik.h kdatepicker.h kdatetbl.h kfontdialog.h kpopupmenu.h
    kfontrequester.h ktabctl.h kstatusbar.h
    kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.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 kaboutdialog.h
    kauthicon.h kmessagebox.h ksharedpixmap.h
    kdualcolorbtn.h kdualcolorbutton.h ktoolbarbutton.h
    ktoolbarradiogroup.h ktextbrowser.h
    kaction.h kactioncollection.h kactionclasses.h khelpmenu.h kswitchlanguagedialog.h
    kcmodule.h kcmenumngr.h kpanelmenu.h kpanelappmenu.h
    kactionshortcutlist.h kstdaction.h kcombobox.h
    kiconview.h klistview.h klistbox.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 kaboutkde.h kaboutapplication.h
    kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h
    kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h
    kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h
    kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h
    kstringvalidator.h kwindowinfo.h
    ktextedit.h kpassivepopup.h
    kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h
    kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h
    ktabbar.h ktabwidget.h ksplashscreen.h kconfigdialog.h
    kactionselector.h klanguagebutton.h klistviewsearchline.h
    kpixmapregionselectorwidget.h kpixmapregionselectordialog.h
    kiconviewsearchline.h ktoolbarlabelaction.h kshortcutdialog.h
  DESTINATION ${INCLUDE_INSTALL_DIR} )


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

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

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

install( PROGRAMS
    preparetips
  DESTINATION ${BIN_INSTALL_DIR} )


##### libkdeui ##################################

set( target kdeui )

set( ${target}_SRCS
  qxembed.cpp ksharedpixmap.cpp kpixmapio.cpp
  kpopupmenu.cpp ktoolbar.cpp kaction.cpp kstdaction.cpp
  kactioncollection.cpp kactionclasses.cpp
  kurllabel.cpp kmenubar.cpp kinputdialog.cpp
  knuminput.cpp klineedit.cpp klistview.cpp kprogress.cpp
  kprogressbox.cpp kcolordialog.cpp kselect.cpp kdatepicker.cpp
  kdatetbl.cpp kfontrequester.cpp kfontdialog.cpp ktabctl.cpp
  kstatusbar.cpp kmainwindow.cpp
  keditlistbox.cpp kscrollview.cpp
  kseparator.cpp krestrictedline.cpp
  kcolorbutton.cpp ksystemtray.cpp
  kbuttonbox.cpp keditcl1.cpp keditcl2.cpp kled.cpp
  kshortcutdialog_simple.ui kshortcutdialog_advanced.ui
  kshortcutdialog.cpp kkeybutton.cpp kkeydialog.cpp
  kruler.cpp kcursor.cpp klineeditdlg.cpp
  kcharselect.cpp kcolordrag.cpp
  knumvalidator.cpp kdialog.cpp kdialogbase.cpp
  kjanuswidget.cpp kaboutdialog.cpp
  kauthicon.cpp kmessagebox.cpp kdualcolorbutton.cpp
  ktoolbarradiogroup.cpp ktoolbarbutton.cpp
  ktextbrowser.cpp khelpmenu.cpp kswitchlanguagedialog.cpp
  kcmenumngr.cpp kpanelmenu.cpp
  kiconview.cpp klistbox.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 kaboutkde.cpp
  kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp
  kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp
  kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp
  kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp
  kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp
  kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp
  kstringvalidator.cpp kactivelabel.cpp
  kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp
  ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp
  ksconfig.cpp kspelldlg.cpp
  kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp
  ksplashscreen.cpp kspellui.ui kconfigdialog.cpp
  kactionselector.cpp klanguagebutton.cpp klistviewsearchline.cpp
  kpixmapregionselectorwidget.cpp kpixmapregionselectordialog.cpp
  kwhatsthismanager.cpp kiconviewsearchline.cpp
  ktoolbarlabelaction.cpp
)

tde_add_library( ${target} SHARED AUTOMOC
  SOURCES ${${target}_SRCS}
  VERSION 4.2.0
  LINK kdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
  DEPENDENCIES dcopidl
  DESTINATION ${LIB_INSTALL_DIR}
)


##### libkspell #################################

set( target kspell )

configure_file( dummy.cpp.cmake dummy.cpp COPYONLY )

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