add more spacing
[personal-kdebase.git] / apps / lib / konq / CMakeLists.txt
blob1d6dcd5ea11e2510a34264427085fc7e546b6670
1 add_subdirectory( pics )
2 add_subdirectory( favicons )
3 add_subdirectory( Templates )
4 add_subdirectory( tests )
6 ########### libkonq ###############
8 # Please use .cpp for new files
9 set(konq_LIB_SRCS
10    konq_popupmenu.cpp       # remains in libkonq, was needed by kicker applets like the trash applet
11    konq_popupmenuinformation.cpp # used by KonqPopupMenu, KonqMenuActions and KonqPopupMenuPlugin
12    konq_popupmenuplugin.cpp # for KonqPopupMenu and its plugins
13    knewmenu.cpp             # used by dolphin, KonqPopupMenu, and konqueror (File menu; to be moved to dolphinpart)
14    konq_menuactions.cpp     # used by dolphin, KonqPopupMenu. Move to kdelibs, for kickoff?
15    konq_copytomenu.cpp      # used by dolphin, KonqPopupMenu
16    konq_operations.cpp      # used by dolphin and konqueror
17    konq_events.cpp
18    konq_filetip.cc          # unused right now, but should be used by dolphin_part in the future.
19                             # Also useful to keep separate? (e.g. in kde3  kerry used it too)
20    konqmimedata.cpp         # used by dolphin, KonqOperations, some filemanagement konqueror modules.
21    konq_fileitemcapabilities.cpp # used in dolphin and dolphinpart already.
24 kde4_add_library(konq SHARED ${konq_LIB_SRCS})
26 target_link_libraries(konq ${KDE4_KPARTS_LIBS})
27 target_link_libraries(konq LINK_INTERFACE_LIBRARIES ${KDE4_KPARTS_LIBS})
29 set_target_properties(konq PROPERTIES
30      VERSION ${KDE_NON_GENERIC_LIB_VERSION}
31      SOVERSION ${KDE_NON_GENERIC_LIB_SOVERSION}
34 install(TARGETS konq  ${INSTALL_TARGETS_DEFAULT_ARGS})
36 ########### konq_sound ###############
38 set(konq_sound_LIB_SRCS konq_sound.cc)
39 kde4_add_plugin(konq_sound ${konq_sound_LIB_SRCS})
40 target_link_libraries(konq_sound ${KDE4_KDECORE_LIBS} ${KDE4_PHONON_LIBS})
41 install(TARGETS konq_sound  DESTINATION ${PLUGIN_INSTALL_DIR} )
43 ########### install files ###############
45 install( FILES directory_bookmarkbar.desktop   DESTINATION  ${DATA_INSTALL_DIR}/kbookmark )
46 install( FILES
47  konq_popupmenu.h
48  konq_popupmenuinformation.h
49  konq_popupmenuplugin.h
50  knewmenu.h
51  konq_menuactions.h
52  # konq_copytomenu.h - anyone needs it?
53  konq_operations.h
54  libkonq_export.h
55  konq_events.h
56  # konq_filetip.h
57  konqmimedata.h
58  konq_fileitemcapabilities.h
59 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
61 install( FILES konqpopupmenuplugin.desktop  DESTINATION  ${SERVICETYPES_INSTALL_DIR} )