X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/76866f783cfd5e84a85b6e9024aa554f3969ecec..cefcbf0ef0e960db68021715d1c600b901be8501:/src/CMakeLists.txt diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8e5816edf..7c39fa1d9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ add_subdirectory( pics ) add_subdirectory( servicemenus ) -include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) +include_directories( ${CMAKE_SOURCE_DIR}/libkonq ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) ########### next target ############### @@ -14,7 +14,9 @@ set(dolphin_SRCS bookmarkssidebarpage.cpp detailsviewsettingspage.cpp dolphinapplication.cpp + dolphincontroller.cpp dolphinmainwindow.cpp + dolphinnewmenu.cpp dolphinview.cpp dolphinstatusbar.cpp dolphindirlister.cpp @@ -31,7 +33,7 @@ set(dolphin_SRCS iconsviewsettingspage.cpp infosidebarpage.cpp main.cpp - progressindicator.cpp + metadataloader.cpp protocolcombo.cpp pixmapviewer.cpp renamedialog.cpp @@ -50,14 +52,20 @@ set(dolphin_SRCS kde4_automoc(${dolphin_SRCS}) kde4_add_kcfg_files(dolphin_SRCS - directoryviewpropertysettings.kcfgc - generalsettings.kcfgc - iconsmodesettings.kcfgc - detailsmodesettings.kcfgc ) + dolphin_directoryviewpropertysettings.kcfgc + dolphin_generalsettings.kcfgc + dolphin_iconsmodesettings.kcfgc + dolphin_detailsmodesettings.kcfgc ) +qt4_add_dbus_adaptor(dolphin_SRCS + org.kde.dolphin.Application.xml + dolphinapplication.h DolphinApplication) +qt4_add_dbus_adaptor(dolphin_SRCS + org.kde.dolphin.MainWindow.xml + dolphinmainwindow.h DolphinMainWindow) kde4_add_executable(dolphin ${dolphin_SRCS}) -target_link_libraries(dolphin ${KDE4_KDECORE_LIBS} ${KDE4_KDEPRINT_LIBS} konq ) +target_link_libraries(dolphin ${KDE4_KDECORE_LIBS} ${KDE4_KDEPRINT_LIBS} konq kmetadata) install(TARGETS dolphin DESTINATION ${BIN_INSTALL_DIR}) @@ -65,7 +73,7 @@ install(TARGETS dolphin DESTINATION ${BIN_INSTALL_DIR}) ########### install files ############### install( FILES dolphin.desktop DESTINATION ${XDG_APPS_DIR} ) -install( FILES directoryviewpropertysettings.kcfg generalsettings.kcfg iconsmodesettings.kcfg detailsmodesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) +install( FILES dolphin_directoryviewpropertysettings.kcfg dolphin_generalsettings.kcfg dolphin_iconsmodesettings.kcfg dolphin_detailsmodesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES dolphinui.rc DESTINATION ${DATA_INSTALL_DIR}/dolphin ) kde4_install_icons( ${ICON_INSTALL_DIR} )