]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/CMakeLists.txt
After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving...
[dolphin.git] / src / CMakeLists.txt
index 061786ffceb3ac0fc5db48324b6371a399ce587c..f3436785493b5bb1e42f4699e8ac1df62864bfa4 100644 (file)
@@ -1,6 +1,4 @@
 
-add_subdirectory( pics )
-
 find_package(QImageBlitz REQUIRED)
 
 macro_optional_find_package(Nepomuk)
@@ -22,15 +20,17 @@ set(dolphinprivate_LIB_SRCS
     dolphindetailsview.cpp
     dolphiniconsview.cpp
     dolphincolumnview.cpp
-    dolphincolumnwidget.cpp
+    dolphincolumnviewcontainer.cpp
     dolphindirlister.cpp
     dolphinfileitemdelegate.cpp
     dolphinmodel.cpp
+    dolphinnewmenuobserver.cpp
     dolphinsortfilterproxymodel.cpp
     dolphincategorydrawer.cpp
     dolphinview.cpp
     dolphinviewactionhandler.cpp
     dolphinviewautoscroller.cpp
+    dolphinremoteencoding.cpp
     draganddrophelper.cpp
     folderexpander.cpp
     renamedialog.cpp
@@ -43,8 +43,12 @@ set(dolphinprivate_LIB_SRCS
     settings/viewpropsprogressinfo.cpp
     tooltips/dolphintooltip.cpp
     tooltips/ktooltip.cpp
+    tooltips/ktooltipdelegate.cpp
+    tooltips/ktooltipitem.cpp
     tooltips/kformattedballoontipdelegate.cpp
     tooltips/tooltipmanager.cpp
+    versioncontrolobserver.cpp
+    viewextensionsfactory.cpp
     viewproperties.cpp
     zoomlevelinfo.cpp
     )
@@ -77,15 +81,22 @@ set(dolphinpart_SRCS
    dolphinpart.cpp
 )
 
+set(fileviewsvnplugin_SRCS
+    fileviewsvnplugin.cpp
+)
 
 kde4_add_plugin(dolphinpart ${dolphinpart_SRCS})
+kde4_add_plugin(fileviewsvnplugin ${fileviewsvnplugin_SRCS})
 
 target_link_libraries(dolphinpart dolphinprivate konq ${KDE4_KPARTS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS})
+target_link_libraries(fileviewsvnplugin ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${KDE4_KIO_LIBS} konq)
 
-install(TARGETS dolphinpart DESTINATION ${PLUGIN_INSTALL_DIR} )
+install(TARGETS dolphinpart DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS fileviewsvnplugin DESTINATION ${PLUGIN_INSTALL_DIR})
 
 install(FILES dolphinpart.rc DESTINATION ${DATA_INSTALL_DIR}/dolphinpart)
 install(FILES dolphinpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install(FILES fileviewsvnplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
 
 ##########################################
 
@@ -94,24 +105,27 @@ set(dolphin_SRCS
     dolphinmainwindow.cpp
     dolphinnewmenu.cpp
     dolphinviewcontainer.cpp
-    dolphinsearchbox.cpp
-    dolphinstatusbar.cpp
     dolphindirlister.cpp
     dolphincontextmenu.cpp
     filterbar.cpp
     main.cpp
     pixmapviewer.cpp
-    panels/information/commentwidget.cpp
-    panels/information/commenteditwidget.cpp
     panels/information/informationpanel.cpp
-    panels/information/metadatawidget.cpp
-    panels/information/metatextlabel.cpp
+    panels/information/informationpanelcontent.cpp
+    panels/information/kmetadatawidget.cpp
+    panels/information/kmetadataconfigurationdialog.cpp
+    panels/information/phononwidget.cpp
     panels/folders/ktreeview.cpp
     panels/places/placespanel.cpp
     panels/panel.cpp
     panels/folders/treeviewcontextmenu.cpp
     panels/folders/folderspanel.cpp
     panels/folders/paneltreeview.cpp
+    search/dolphinsearchbox.cpp
+    search/dolphinsearchoptionsconfigurator.cpp
+    search/searchcriteriondescription.cpp
+    search/searchcriterionselector.cpp
+    search/searchcriterionvalue.cpp
     settings/behaviorsettingspage.cpp
     settings/columnviewsettingspage.cpp
     settings/contextmenusettingspage.cpp
@@ -127,26 +141,27 @@ set(dolphin_SRCS
     settings/settingspagebase.cpp
     settings/startupsettingspage.cpp
     settings/statusbarsettingspage.cpp
+    settings/trashsettingspage.cpp
     settings/viewsettingspage.cpp
     settings/viewsettingspagebase.cpp
-    statusbarspaceinfo.cpp
-    statusbarmessagelabel.cpp
+    statusbar/dolphinstatusbar.cpp
+    statusbar/statusbarspaceinfo.cpp
+    statusbar/statusbarmessagelabel.cpp
     zoomlevelinfo.cpp
     )
 
 kde4_add_kcfg_files(dolphin_SRCS
-    panels/folders/dolphin_folderspanelsettings.kcfgc)
+    panels/folders/dolphin_folderspanelsettings.kcfgc
+    panels/information/dolphin_informationpanelsettings.kcfgc)
 
 if(Nepomuk_FOUND)
 set(dolphin_SRCS
   ${dolphin_SRCS}
+  panels/information/kcommentwidget.cpp
+  panels/information/kedittagsdialog.cpp
   panels/information/nepomukmassupdatejob.cpp
-  panels/information/tagcloud.cpp
-  panels/information/resourcetaggingwidget.cpp
-  panels/information/taggingpopup.cpp
-  panels/information/newtagdialog.cpp
+  panels/information/ktaggingwidget.cpp
 )
-kde4_add_ui_files(dolphin_SRCS panels/information/newtagdialog.ui)
 
 endif(Nepomuk_FOUND)
 
@@ -165,7 +180,7 @@ kde4_add_app_icon(dolphin_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/system-fi
 
 kde4_add_executable(dolphin ${dolphin_SRCS})
 
-target_link_libraries(dolphin ${KDE4_KIO_LIBS}  ${KDE4_KDEPRINT_LIBS} ${KDE4_KFILE_LIBS} konq dolphinprivate)
+target_link_libraries(dolphin ${KDE4_KIO_LIBS}  ${KDE4_KDEPRINT_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KUTILS_LIBRARY} konq dolphinprivate ${KDE4_PHONON_LIBS})
 
 if (Nepomuk_FOUND)
   target_link_libraries(dolphin ${NEPOMUK_LIBRARIES} ${SOPRANO_LIBRARIES})
@@ -191,10 +206,16 @@ set(kcm_dolphinnavigation_PART_SRCS
     settings/navigationsettingspage.cpp
     settings/settingspagebase.cpp)
 
+set(kcm_dolphinservices_PART_SRCS
+    kcm/kcmdolphinservices.cpp
+    settings/servicessettingspage.cpp
+    settings/settingspagebase.cpp)
+
 set(kcm_dolphingeneral_PART_SRCS
     kcm/kcmdolphingeneral.cpp
     settings/behaviorsettingspage.cpp
     settings/previewssettingspage.cpp
+    settings/contextmenusettingspage.cpp
     settings/settingspagebase.cpp)
 
 kde4_add_kcfg_files(kcm_dolphinviewmodes_PART_SRCS
@@ -207,24 +228,31 @@ kde4_add_kcfg_files(kcm_dolphinviewmodes_PART_SRCS
 kde4_add_kcfg_files(kcm_dolphinnavigation_PART_SRCS
     settings/dolphin_generalsettings.kcfgc)
 
+kde4_add_kcfg_files(kcm_dolphinservices_PART_SRCS
+    settings/dolphin_generalsettings.kcfgc)
+
 kde4_add_kcfg_files(kcm_dolphingeneral_PART_SRCS
     settings/dolphin_generalsettings.kcfgc)
 
 kde4_add_plugin(kcm_dolphinviewmodes ${kcm_dolphinviewmodes_PART_SRCS})
 kde4_add_plugin(kcm_dolphinnavigation ${kcm_dolphinnavigation_PART_SRCS})
+kde4_add_plugin(kcm_dolphinservices ${kcm_dolphinservices_PART_SRCS})
 kde4_add_plugin(kcm_dolphingeneral ${kcm_dolphingeneral_PART_SRCS})
 
 target_link_libraries(kcm_dolphinviewmodes  ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} dolphinprivate)
 target_link_libraries(kcm_dolphinnavigation  ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} dolphinprivate)
+target_link_libraries(kcm_dolphinservices  ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} ${KDE4_KIO_LIBS} dolphinprivate)
 target_link_libraries(kcm_dolphingeneral ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} dolphinprivate)
 if (Nepomuk_FOUND)
   target_link_libraries(kcm_dolphinviewmodes ${NEPOMUK_LIBRARIES})
   target_link_libraries(kcm_dolphinnavigation ${NEPOMUK_LIBRARIES})
+  target_link_libraries(kcm_dolphinservices ${NEPOMUK_LIBRARIES})
   target_link_libraries(kcm_dolphingeneral ${NEPOMUK_LIBRARIES})
 endif (Nepomuk_FOUND)
 
 install(TARGETS kcm_dolphinviewmodes DESTINATION ${PLUGIN_INSTALL_DIR} )
 install(TARGETS kcm_dolphinnavigation DESTINATION ${PLUGIN_INSTALL_DIR} )
+install(TARGETS kcm_dolphinservices DESTINATION ${PLUGIN_INSTALL_DIR} )
 install(TARGETS kcm_dolphingeneral DESTINATION ${PLUGIN_INSTALL_DIR} )
 
 ########### install files ###############
@@ -232,6 +260,8 @@ install(TARGETS kcm_dolphingeneral DESTINATION ${PLUGIN_INSTALL_DIR} )
 install( FILES  dolphin.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
 install( FILES  settings/dolphin_directoryviewpropertysettings.kcfg settings/dolphin_generalsettings.kcfg settings/dolphin_columnmodesettings.kcfg settings/dolphin_iconsmodesettings.kcfg settings/dolphin_detailsmodesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
 install( FILES  dolphinui.rc DESTINATION ${DATA_INSTALL_DIR}/dolphin )
+install( FILES  search/dolphinsearchcommands.desktop DESTINATION ${DATA_INSTALL_DIR}/dolphin )
 install( FILES kcm/kcmdolphinviewmodes.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
 install( FILES kcm/kcmdolphinnavigation.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kcm/kcmdolphinservices.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
 install( FILES kcm/kcmdolphingeneral.desktop DESTINATION ${SERVICES_INSTALL_DIR} )