Warning, /plasma/kwin/src/kcms/common/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # KI18N Translation Domain for this library
0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincommon\")
0003 
0004 set(kcmkwincommon_SRC
0005     effectsmodel.cpp
0006 )
0007 
0008 qt_add_dbus_interface(kcmkwincommon_SRC
0009     ${KWin_SOURCE_DIR}/src/org.kde.kwin.Effects.xml kwin_effects_interface
0010 )
0011 
0012 add_library(kcmkwincommon SHARED ${kcmkwincommon_SRC})
0013 
0014 target_link_libraries(kcmkwincommon
0015     Qt::Core
0016     Qt::DBus
0017     KF6::CoreAddons
0018     KF6::ConfigCore
0019     KF6::I18n
0020     KF6::Package
0021     KF6::KCMUtils
0022 )
0023 
0024 set_target_properties(kcmkwincommon PROPERTIES
0025     VERSION ${PROJECT_VERSION}
0026     SOVERSION 6
0027 )
0028 
0029 install(TARGETS kcmkwincommon ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0030 
0031 set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp)
0032 qt_add_dbus_interface(kcm_kwin4_genericscripted_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
0033 add_library(kcm_kwin4_genericscripted MODULE ${kcm_kwin4_genericscripted_SRCS})
0034 target_link_libraries(kcm_kwin4_genericscripted
0035     KF6::KCMUtils #KCModule
0036     KF6::I18n
0037     Qt::DBus
0038     Qt::UiTools
0039 )
0040 install(TARGETS kcm_kwin4_genericscripted DESTINATION ${KDE_INSTALL_PLUGINDIR}/kwin/effects/configs)