kdeconnect-kde/plugins/CMakeLists.txt
David Redondo e58c1a1415 Add shareinptudevices plugin
This plugin provides synergy-like behavior of sharing input devices
between machines by moving the cursor seamlessly between them.
To this end this uses the InputCapture Portal to be notified when
the cursor moves 'out of the screen'. For forwarding input
the existing mousepad infrastructure is used.
On the other side a tiny hidden plugin listens to mouse events to
track when input should pass back to source machine.
2024-07-03 12:08:03 +02:00

70 lines
1.8 KiB
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
add_subdirectory(ping)
add_subdirectory(connectivity-report)
add_subdirectory(remotecommands)
add_subdirectory(remotecontrol)
add_subdirectory(remotesystemvolume)
add_subdirectory(clipboard)
add_subdirectory(runcommand)
if(NOT WIN32)
# https://bugs.kde.org/show_bug.cgi?id=444612
add_subdirectory(battery)
endif()
if(NOT WIN32 AND NOT APPLE)
add_subdirectory(bigscreen)
endif()
add_subdirectory(presenter)
if((WIN32 AND MSVC AND (${CMAKE_SYSTEM_VERSION} VERSION_GREATER_EQUAL 10.0.17763.0)) OR (NOT WIN32 AND NOT APPLE))
add_subdirectory(mpriscontrol)
endif()
add_subdirectory(mprisremote)
if(NOT APPLE)
add_subdirectory(lockdevice)
endif()
add_subdirectory(contacts)
add_subdirectory(share)
add_subdirectory(remotekeyboard)
add_subdirectory(notifications)
add_subdirectory(findmyphone)
add_subdirectory(telephony)
add_subdirectory(mousepad)
add_subdirectory(sms)
add_subdirectory(screensaver-inhibit)
add_subdirectory(virtualmonitor)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
find_package(KF6ModemManagerQt ${KF_MIN_VERSION})
if (TARGET KF6::ModemManagerQt)
add_subdirectory(mmtelephony)
endif()
add_subdirectory(shareinputdevices)
add_subdirectory(shareinputdevicesremote)
endif()
if(NOT APPLE)
add_subdirectory(sendnotifications)
add_subdirectory(sftp)
endif()
if(WITH_PULSEAUDIO OR WIN32)
add_subdirectory(pausemusic)
endif()
if(WITH_PULSEAUDIO OR WIN32)
add_subdirectory(findthisdevice)
endif()
if (WITH_PULSEAUDIO OR WIN32 OR APPLE)
add_subdirectory(systemvolume)
endif()
# If we split notifications per plugin, in several notifyrc files, they won't
# appear in the same group in the Notifications KCM
install(FILES kdeconnect.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})