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

0001 # KI18N Translation Domain for this library
0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwinscreenedges\")
0003 
0004 set(kcm_screenedges_SRCS
0005     monitor.cpp
0006     screenpreviewwidget.cpp
0007     kwinscreenedge.cpp
0008     kwinscreenedgeconfigform.cpp
0009 )
0010 
0011 qt_add_dbus_interface(kcm_screenedges_SRCS ${KWin_SOURCE_DIR}/src/org.kde.kwin.Effects.xml kwin_effects_interface)
0012 
0013 set(kcm_kwinscreenedges_PART_SRCS main.cpp ${kcm_screenedges_SRCS})
0014 
0015 kcmutils_generate_module_data(
0016     kcm_kwinscreenedges_PART_SRCS
0017     MODULE_DATA_HEADER kwinscreenedgedata.h
0018     MODULE_DATA_CLASS_NAME KWinScreenEdgeData
0019     SETTINGS_HEADERS kwinscreenedgesettings.h
0020     SETTINGS_CLASSES KWinScreenEdgeSettings
0021     NAMESPACE KWin
0022 )
0023 
0024 ki18n_wrap_ui(kcm_kwinscreenedges_PART_SRCS main.ui)
0025 kconfig_add_kcfg_files(kcm_kwinscreenedges_PART_SRCS kwinscreenedgesettings.kcfgc kwinscreenedgescriptsettings.kcfgc kwinscreenedgeeffectsettings.kcfgc)
0026 kcoreaddons_add_plugin(kcm_kwinscreenedges SOURCES ${kcm_kwinscreenedges_PART_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
0027 set(kcm_screenedges_LIBS
0028     Qt::DBus
0029 
0030     KF6::ConfigCore
0031     KF6::KCMUtils
0032     KF6::I18n
0033     KF6::Package
0034     KF6::Svg
0035 )
0036 target_link_libraries(kcm_kwinscreenedges ${X11_LIBRARIES} ${kcm_screenedges_LIBS})
0037 
0038 set(kcm_kwintouchscreenedges_PART_SRCS
0039     touch.cpp
0040     kwintouchscreenedgeconfigform.cpp
0041     ${kcm_screenedges_SRCS}
0042 )
0043 
0044 kcmutils_generate_module_data(
0045     kcm_kwintouchscreenedges_PART_SRCS
0046     MODULE_DATA_HEADER kwintouchscreendata.h
0047     MODULE_DATA_CLASS_NAME KWinTouchScreenData
0048     SETTINGS_HEADERS kwintouchscreensettings.h
0049     SETTINGS_CLASSES KWinTouchScreenSettings
0050     NAMESPACE KWin
0051 )
0052 
0053 ki18n_wrap_ui(kcm_kwintouchscreenedges_PART_SRCS main.ui touch.ui)
0054 kconfig_add_kcfg_files(kcm_kwintouchscreenedges_PART_SRCS kwintouchscreensettings.kcfgc kwintouchscreenscriptsettings.kcfgc kwintouchscreenedgeeffectsettings.kcfgc)
0055 kcoreaddons_add_plugin(kcm_kwintouchscreen SOURCES ${kcm_kwintouchscreenedges_PART_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
0056 target_link_libraries(kcm_kwintouchscreen ${X11_LIBRARIES} ${kcm_screenedges_LIBS})