]> cloud.milkyroute.net Git - dolphin.git/blob - src/CMakeLists.txt
Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this hint...
[dolphin.git] / src / CMakeLists.txt
1
2 add_subdirectory( pics )
3 add_subdirectory( servicemenus )
4
5 include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
6
7
8 ########### next target ###############
9
10 set(dolphin_SRCS
11 main.cpp
12 dolphinapplication.cpp
13 dolphinmainwindow.cpp
14 dolphinview.cpp
15 urlnavigator.cpp
16 urlnavigatorbutton.cpp
17 viewpropertiesdialog.cpp
18 dolphinstatusbar.cpp
19 dolphindirlister.cpp
20 viewproperties.cpp
21 dolphindetailsview.cpp
22 dolphiniconsview.cpp
23 dolphinsettings.cpp
24 bookmarkselector.cpp
25 urlbutton.cpp
26 dolphincontextmenu.cpp
27 dolphinsortfilterproxymodel.cpp
28 undomanager.cpp
29 progressindicator.cpp
30 iconsviewsettingspage.cpp
31 pixmapviewer.cpp
32 dolphinsettingsdialog.cpp
33 viewsettingspage.cpp
34 detailsviewsettingspage.cpp
35 statusbarmessagelabel.cpp
36 generalsettingspage.cpp
37 bookmarkssettingspage.cpp
38 editbookmarkdialog.cpp
39 settingspagebase.cpp
40 sidebarpage.cpp
41 bookmarkssidebarpage.cpp
42 infosidebarpage.cpp
43 statusbarspaceinfo.cpp
44 renamedialog.cpp
45 filterbar.cpp
46 protocolcombo.cpp
47 viewpropsprogressinfo.cpp
48 applyviewpropsjob.cpp )
49
50 kde4_automoc(${dolphin_SRCS})
51
52 kde4_add_kcfg_files(dolphin_SRCS
53 directoryviewpropertysettings.kcfgc
54 generalsettings.kcfgc
55 iconsmodesettings.kcfgc
56 detailsmodesettings.kcfgc )
57
58 kde4_add_executable(dolphin ${dolphin_SRCS})
59
60 target_link_libraries(dolphin ${KDE4_KDECORE_LIBS} ${KDE4_KDEPRINT_LIBS} )
61
62 install(TARGETS dolphin DESTINATION ${BIN_INSTALL_DIR})
63
64
65 ########### install files ###############
66
67 install( FILES dolphin.desktop DESTINATION ${XDG_APPS_DIR} )
68 install( FILES directoryviewpropertysettings.kcfg generalsettings.kcfg iconsmodesettings.kcfg detailsmodesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
69 install( FILES dolphinui.rc DESTINATION ${DATA_INSTALL_DIR}/dolphin )
70
71 kde4_install_icons( ${ICON_INSTALL_DIR} )