2010-04-24 09:06:17 +00:00
|
|
|
add_subdirectory(kbookmarkmodel)
|
2010-04-06 14:24:55 +00:00
|
|
|
|
2006-02-28 08:01:15 +00:00
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kbookmarkmerger_SRCS kbookmarkmerger.cpp )
|
|
|
|
|
|
|
|
kde4_add_executable(kbookmarkmerger ${kbookmarkmerger_SRCS})
|
|
|
|
|
2008-07-29 10:02:28 +00:00
|
|
|
target_link_libraries(kbookmarkmerger ${KDE4_KIO_LIBS})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2008-05-27 11:36:57 +00:00
|
|
|
install(TARGETS kbookmarkmerger ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(keditbookmarks_KDEINIT_SRCS
|
2010-03-10 14:37:11 +00:00
|
|
|
main.cpp
|
|
|
|
toplevel.cpp
|
|
|
|
globalbookmarkmanager.cpp
|
|
|
|
actionsimpl.cpp
|
|
|
|
importers.cpp
|
2010-03-16 20:23:47 +00:00
|
|
|
bookmarkiterator.cpp
|
|
|
|
testlink.cpp
|
|
|
|
favicons.cpp
|
2010-04-26 17:46:35 +00:00
|
|
|
faviconupdater.cpp
|
2010-03-16 20:23:47 +00:00
|
|
|
exporters.cpp
|
|
|
|
bookmarkinfowidget.cpp
|
|
|
|
kebsearchline.cpp
|
|
|
|
bookmarklistview.cpp
|
2010-04-24 09:06:17 +00:00
|
|
|
)
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2007-01-16 15:10:06 +00:00
|
|
|
set(toplevel_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.keditbookmarks.xml)
|
2007-10-29 23:12:46 +00:00
|
|
|
qt4_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/toplevel.h org.kde.keditbookmarks.xml )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2007-10-29 23:12:46 +00:00
|
|
|
qt4_add_dbus_interface( keditbookmarks_KDEINIT_SRCS ${toplevel_xml} toplevel_interface )
|
|
|
|
qt4_add_dbus_interface( keditbookmarks_KDEINIT_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../lib/konq/favicons/org.kde.FavIcon.xml favicon_interface)
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|
2006-10-23 06:53:27 +00:00
|
|
|
kde4_add_kcfg_files(keditbookmarks_KDEINIT_SRCS settings.kcfgc )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
kde4_add_kdeinit_executable( keditbookmarks ${keditbookmarks_KDEINIT_SRCS})
|
|
|
|
|
2010-04-24 09:06:17 +00:00
|
|
|
target_link_libraries(kdeinit_keditbookmarks kbookmarkmodel_private konq ${KDE4_KPARTS_LIBS})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2008-04-11 06:52:03 +00:00
|
|
|
install(TARGETS kdeinit_keditbookmarks ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(TARGETS keditbookmarks ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2006-07-04 17:09:53 +00:00
|
|
|
install( FILES keditbookmarks.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
|
|
|
install( FILES keditbookmarksui.rc keditbookmarks-genui.rc DESTINATION ${DATA_INSTALL_DIR}/keditbookmarks )
|
2010-10-19 12:44:48 +00:00
|
|
|
install( PROGRAMS keditbookmarks.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|