3 kde4_no_enable_final(kde3support)
5 # inter-subdir dependencies
6 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/kdecore ${CMAKE_CURRENT_SOURCE_DIR}/kdeui
7 ${CMAKE_CURRENT_SOURCE_DIR}/kio/kfile
8 ${CMAKE_SOURCE_DIR}/solid )
9 #${CMAKE_CURRENT_SOURCE_DIR}/kparts ${CMAKE_CURRENT_SOURCE_DIR}/kutils )
12 include_directories( ${KDE4_KPARTS_INCLUDES} )
14 add_definitions( -DQT3_SUPPORT -DKDE3_SUPPORT -DIN_KDE3_SUPPORT)
17 add_subdirectory( kunittest )
18 add_subdirectory( tests )
22 ########### next target ###############
24 set(kde3support_LIB_SRCS
25 kdecore/k3mimesourcefactory.cpp
26 kdecore/k3multipledrag.cpp
28 kdecore/k3staticdeleter.cpp
29 kdecore/k3tempfile.cpp
32 kdeui/k3aboutapplication.cpp
33 kdeui/k3aboutdialog.cpp
34 kdeui/k3activelabel.cpp
35 kdeui/k3dockwidget.cpp
36 kdeui/k3dockwidget_private.cpp
38 kdeui/k3iconviewsearchline.cpp
41 kdeui/k3listviewsearchline.cpp
45 kdeui/k3syntaxhighlighter.cpp
50 kdeui/k3passworddialog.cpp
53 kdeui/k3panelapplet.cpp
55 kio/k3bookmarkdrag.cpp
56 kio/kfile/k3fileview.cpp
57 kio/kfile/k3filetreeview.cpp
58 kio/kfile/k3filetreeviewitem.cpp
59 kio/kfile/kfiletreebranch.cpp
60 kparts/dockmainwindow3.cpp
64 set(kde3support_LIB_SRCS ${kde3support_LIB_SRCS}
66 kdecore/k3processcontroller.cpp
75 kde4_add_ui_files( kde3support_LIB_SRCS ${kde3ui_UI} )
77 remove_definitions(-DQT3_SUPPORT_WARNINGS -DKDE_DEPRECATED_WARNINGS)
79 kde4_add_library(kde3support SHARED ${kde3support_LIB_SRCS})
81 target_link_libraries(kde3support ${KDE4_KPARTS_LIBS} ${KDE4_KPTY_LIBS} ${QT_QTXML_LIBRARY} ${QT_QT3SUPPORT_LIBRARY} ${KDE4_KFILE_LIBS} ${X11_LIBRARIES})
82 target_link_libraries(kde3support LINK_INTERFACE_LIBRARIES kio kdeui kdecore ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QT3SUPPORT_LIBRARY} )
84 set_target_properties(kde3support PROPERTIES VERSION ${GENERIC_LIB_VERSION}
85 SOVERSION ${GENERIC_LIB_SOVERSION}
88 install(TARGETS kde3support EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
90 ########### install files ###############
94 kdecore/k3mimesourcefactory.h
95 kdecore/k3multipledrag.h
97 kdecore/k3staticdeleter.h
98 kdecore/k3sqlpropertymap.h
101 kdecore/kcalendarsystemfactory.h
102 kdecore/ksimpleconfig.h
104 kdeui/k3aboutapplication.h
105 kdeui/k3aboutdialog.h
106 kdeui/k3activelabel.h
108 kdeui/k3iconviewsearchline.h
110 kdeui/k3listviewsearchline.h
114 kdeui/k3syntaxhighlighter.h
119 kdeui/k3passworddialog.h
124 kdeui/k3panelapplet.h
129 kio/kfile/kurlrequesterdlg.h
130 kio/kfile/kfilesharedlg.h
131 kio/kfile/kpropsdlg.h
132 kio/kfile/k3fileview.h
133 kio/kfile/k3filetreeview.h
134 kio/kfile/k3filetreeviewitem.h
135 kio/kfile/kfiletreebranch.h
136 kparts/dockmainwindow3.h
141 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
146 kdecore/k3processcontroller.h
148 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
153 DESTINATION ${INCLUDE_INSTALL_DIR}/kio COMPONENT Devel )