Warning, /utilities/keditbookmarks/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 ############ subdir ###################
0002 set(debug_file_common_SRCS)
0003 ecm_qt_declare_logging_category(debug_file_common_SRCS
0004     HEADER keditbookmarks_debug.h
0005     IDENTIFIER KEDITBOOKMARKS_LOG
0006     CATEGORY_NAME org.kde.keditbookmarks
0007     DESCRIPTION "KEditBookmarks"
0008     EXPORT KEDITBOOKMARKS
0009 )
0010 
0011 
0012 add_subdirectory(kbookmarkmodel)
0013 
0014 ########### next target ###############
0015 
0016 ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KEDITBOOKMARKS VERSION_HEADER keditbookmarks_version.h)
0017 
0018 add_executable(kbookmarkmerger kbookmarkmerger.cpp ${debug_file_common_SRCS})
0019 
0020 target_link_libraries(kbookmarkmerger
0021    KF5::KIOCore
0022    KF5::I18n
0023    KF5::Bookmarks
0024 )
0025 
0026 install(TARGETS kbookmarkmerger ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0027 
0028 
0029 ########### next target ###############
0030 add_executable( keditbookmarks)
0031 set(toplevel_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.keditbookmarks.xml)
0032 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/toplevel.h org.kde.keditbookmarks.xml )
0033 
0034 qt_add_dbus_interface( keditbookmarks_SRCS ${toplevel_xml} toplevel_interface )
0035 
0036 kconfig_add_kcfg_files(keditbookmarks_SRCS settings.kcfgc )
0037 target_sources(keditbookmarks PRIVATE
0038    main.cpp
0039    toplevel.cpp
0040    globalbookmarkmanager.cpp
0041    actionsimpl.cpp
0042    importers.cpp
0043    bookmarkiterator.cpp
0044    testlink.cpp
0045    favicons.cpp
0046    faviconupdater.cpp
0047    exporters.cpp
0048    bookmarkinfowidget.cpp
0049    kebsearchline.cpp
0050    bookmarklistview.cpp
0051    toplevel.h
0052    globalbookmarkmanager.h
0053    actionsimpl.h
0054    importers.h
0055    bookmarkiterator.h
0056    testlink.h
0057    favicons.h
0058    faviconupdater.h
0059    exporters.h
0060    bookmarkinfowidget.h
0061    kebsearchline.h
0062    bookmarklistview.h
0063    ${debug_file_common_SRCS}
0064    ${keditbookmarks_SRCS}
0065    keditbookmarks.qrc
0066 )
0067 
0068 target_link_libraries(keditbookmarks kbookmarkmodel_private
0069    KF5::Parts
0070    KF5::Bookmarks
0071    KF5::WindowSystem
0072    KF5::IconThemes
0073    KF5::KIOGui)
0074 
0075 install(TARGETS keditbookmarks          ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0076 
0077 ########### install files ###############
0078 
0079 install( FILES keditbookmarks.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0080 install( PROGRAMS org.kde.keditbookmarks.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
0081 
0082 ecm_qt_install_logging_categories(
0083     EXPORT KEDITBOOKMARKS
0084     FILE keditbookmarks.categories
0085     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0086 )