Warning, /plasma/plasma-browser-integration/host/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"plasma-browser-integration-host\")
0002 
0003 configure_file(config-host.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-host.h)
0004 
0005 set(HOST_SOURCES main.cpp
0006                 connection.cpp
0007                 pluginmanager.cpp
0008                 settings.cpp
0009                 mprisplugin.cpp
0010                 abstractbrowserplugin.cpp
0011                 abstractkrunnerplugin.cpp
0012                 kdeconnectplugin.cpp
0013                 downloadplugin.cpp
0014                 downloadjob.cpp
0015                 historyrunnerplugin.cpp
0016                 tabsrunnerplugin.cpp
0017                 purposeplugin.cpp
0018                 connection.h
0019                 pluginmanager.h
0020                 settings.h
0021                 mprisplugin.h
0022                 abstractbrowserplugin.h
0023                 abstractkrunnerplugin.h
0024                 kdeconnectplugin.h
0025                 downloadplugin.h
0026                 downloadjob.h
0027                 historyrunnerplugin.h
0028                 tabsrunnerplugin.h
0029                 purposeplugin.h
0030                 )
0031 
0032 qt_add_dbus_adaptor(HOST_SOURCES ../dbus/org.mpris.MediaPlayer2.xml mprisplugin.h MPrisPlugin mprisroot MPrisRoot)
0033 qt_add_dbus_adaptor(HOST_SOURCES ../dbus/org.mpris.MediaPlayer2.Player.xml mprisplugin.h MPrisPlugin mprisplayer MPrisPlayer)
0034 
0035 qt_add_dbus_adaptor(HOST_SOURCES ../dbus/org.kde.krunner1.xml abstractkrunnerplugin.h AbstractKRunnerPlugin)
0036 
0037 add_executable(plasma-browser-integration-host ${HOST_SOURCES})
0038 target_link_libraries(
0039     plasma-browser-integration-host
0040     Qt::DBus
0041     Qt::Gui
0042     Qt::Widgets
0043     Plasma::Activities
0044     KF6::ConfigCore
0045     KF6::CoreAddons
0046     KF6::Crash
0047     KF6::I18n
0048     KF6::JobWidgets
0049     KF6::KIOCore
0050     KF6::PurposeWidgets
0051     KF6::Runner
0052     KF6::FileMetaData
0053     KF6::Service
0054     PW::LibTaskManager
0055 )
0056 
0057 configure_file(org.kde.plasma.browser_integration.host.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.browser_integration.host.desktop @ONLY)
0058 
0059 install(TARGETS plasma-browser-integration-host ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0060 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.browser_integration.host.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0061 
0062 install(FILES plasma-runner-browsertabs.desktop DESTINATION ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins)
0063 install(FILES plasma-runner-browserhistory.desktop DESTINATION ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins)