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     KF5::Activities
0044     KF5::ConfigCore
0045     KF5::CoreAddons
0046     KF5::Crash
0047     KF5::I18n
0048     KF5::JobWidgets
0049     KF5::KIOCore
0050     KF5::PurposeWidgets
0051     KF5::Runner
0052     KF5::FileMetaData
0053     PW::LibTaskManager
0054 )
0055 
0056 configure_file(org.kde.plasma.browser_integration.host.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.browser_integration.host.desktop @ONLY)
0057 
0058 install(TARGETS plasma-browser-integration-host ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0059 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.browser_integration.host.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0060 
0061 install(FILES plasma-runner-browsertabs.desktop DESTINATION ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins)
0062 install(FILES plasma-runner-browserhistory.desktop DESTINATION ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins)