Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / keditbookmarks / CMakeLists.txt
blob8dc59b92cd222a9a51b7e140cc5382e3748a61c1
1 ########### next target ###############
3 set(kbookmarkmerger_SRCS kbookmarkmerger.cpp )
6 kde4_add_executable(kbookmarkmerger ${kbookmarkmerger_SRCS})
8 target_link_libraries(kbookmarkmerger  ${KDE4_KIO_LIBS})
10 install(TARGETS kbookmarkmerger ${INSTALL_TARGETS_DEFAULT_ARGS})
13 ########### next target ###############
15 set(keditbookmarks_KDEINIT_SRCS 
16    main.cpp 
17    toplevel.cpp 
18    actionsimpl.cpp 
19    commands.cpp 
20    importers.cpp 
21    bookmarkiterator.cpp 
22    testlink.cpp 
23    favicons.cpp 
24    updater.cpp 
25    exporters.cpp 
26    bookmarkinfo.cpp 
27    kebsearchline.cpp 
28    bookmarkmodel.cpp 
29    bookmarklistview.cpp 
30    treeitem.cpp )
32 set(toplevel_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.keditbookmarks.xml)
33 qt4_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/toplevel.h org.kde.keditbookmarks.xml )
35 qt4_add_dbus_interface( keditbookmarks_KDEINIT_SRCS ${toplevel_xml} toplevel_interface )
36 qt4_add_dbus_interface( keditbookmarks_KDEINIT_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../lib/konq/favicons/org.kde.FavIcon.xml favicon_interface)
39 kde4_add_kcfg_files(keditbookmarks_KDEINIT_SRCS settings.kcfgc )
41 kde4_add_kdeinit_executable( keditbookmarks ${keditbookmarks_KDEINIT_SRCS})
43 target_link_libraries(kdeinit_keditbookmarks  ${KDE4_KDE3SUPPORT_LIBS} konq ${KDE4_KPARTS_LIBS})
45 install(TARGETS kdeinit_keditbookmarks  ${INSTALL_TARGETS_DEFAULT_ARGS})
46 install(TARGETS keditbookmarks          ${INSTALL_TARGETS_DEFAULT_ARGS})
48 ########### install files ###############
50 install( FILES keditbookmarks.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
51 install( FILES keditbookmarksui.rc  keditbookmarks-genui.rc  DESTINATION  ${DATA_INSTALL_DIR}/keditbookmarks )