]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/CMakeLists.txt
Added Rafael López's item categorizer into Dolphin (it's currently deactivated in...
[dolphin.git] / src / CMakeLists.txt
index 34006f3f4def80685c76c93e3e034fb9e2d1b9d4..2d855532c594313a9136febaec3fb79d91d18be0 100644 (file)
@@ -4,30 +4,34 @@ add_subdirectory( servicemenus )
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkonq ${KDE4_INCLUDE_DIR} ${QT_INCLUDES}  )
 
+add_definitions (-DQT3_SUPPORT)
+
 ########### next target ###############
 
 set(dolphinprivate_LIB_SRCS
-       dolphincontroller.cpp
-       dolphindetailsview.cpp
-       dolphiniconsview.cpp
-       dolphinsettings.cpp
-       viewproperties.cpp
-       dolphinsortfilterproxymodel.cpp
-       )
+    dolphincontroller.cpp
+    dolphindetailsview.cpp
+    dolphiniconsview.cpp
+    dolphinitemcategorizer.cpp
+    klistview.cpp
+    dolphinsettings.cpp
+    viewproperties.cpp
+    dolphinsortfilterproxymodel.cpp
+    )
 
 kde4_add_kcfg_files(dolphinprivate_LIB_SRCS
-   dolphin_columnmodesettings.kcfgc
-   dolphin_directoryviewpropertysettings.kcfgc
-   dolphin_detailsmodesettings.kcfgc
-   dolphin_iconsmodesettings.kcfgc
-   dolphin_generalsettings.kcfgc)
+    dolphin_columnmodesettings.kcfgc
+    dolphin_directoryviewpropertysettings.kcfgc
+    dolphin_detailsmodesettings.kcfgc
+    dolphin_iconsmodesettings.kcfgc
+    dolphin_generalsettings.kcfgc)
 
 
 kde4_automoc(${dolphinprivate_LIB_SRCS})
 
 kde4_add_library(dolphinprivate SHARED ${dolphinprivate_LIB_SRCS})
 
-target_link_libraries(dolphinprivate ${KDE4_KDEUI_LIBS} konq)
+target_link_libraries(dolphinprivate ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} konq)
 
 set_target_properties(dolphinprivate PROPERTIES VERSION 1.0.0 SOVERSION 1 )
 install(TARGETS dolphinprivate  DESTINATION ${LIB_INSTALL_DIR} )
@@ -37,8 +41,6 @@ install(TARGETS dolphinprivate  DESTINATION ${LIB_INSTALL_DIR} )
 
 set(dolphin_SRCS
    applyviewpropsjob.cpp
-   bookmarkssettingspage.cpp
-   bookmarkssidebarpage.cpp
    columnviewsettingspage.cpp
    detailsviewsettingspage.cpp
    dolphinapplication.cpp
@@ -50,7 +52,6 @@ set(dolphin_SRCS
    dolphindirlister.cpp
    dolphincontextmenu.cpp
    dolphinsettingsdialog.cpp
-   editbookmarkdialog.cpp
    filterbar.cpp
    generalsettingspage.cpp
    generalviewsettingspage.cpp
@@ -102,5 +103,9 @@ install(TARGETS dolphin DESTINATION ${BIN_INSTALL_DIR})
 install( FILES  dolphin.desktop DESTINATION ${XDG_APPS_DIR} )
 install( FILES  dolphin_directoryviewpropertysettings.kcfg dolphin_generalsettings.kcfg dolphin_columnmodesettings.kcfg dolphin_iconsmodesettings.kcfg dolphin_detailsmodesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
 install( FILES  dolphinui.rc DESTINATION ${DATA_INSTALL_DIR}/dolphin )
+install( FILES
+    klistview.h
+    kitemcategorizer.h
+    DESTINATION ${INCLUDE_INSTALL_DIR})
 
 kde4_install_icons( ${ICON_INSTALL_DIR} )