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

0001 #######################################
0002 # Effect
0003 
0004 set(magiclamp_SOURCES
0005     magiclamp.cpp
0006     main.cpp
0007 )
0008 
0009 kconfig_add_kcfg_files(magiclamp_SOURCES
0010     magiclampconfig.kcfgc
0011 )
0012 
0013 kwin_add_builtin_effect(magiclamp ${magiclamp_SOURCES})
0014 target_link_libraries(magiclamp PRIVATE
0015     kwin
0016 
0017     KF6::ConfigGui
0018 )
0019 
0020 #######################################
0021 # Config
0022 if (KWIN_BUILD_KCMS)
0023     set(kwin_magiclamp_config_SRCS magiclamp_config.cpp)
0024     ki18n_wrap_ui(kwin_magiclamp_config_SRCS magiclamp_config.ui)
0025     kconfig_add_kcfg_files(kwin_magiclamp_config_SRCS magiclampconfig.kcfgc)
0026 
0027     kwin_add_effect_config(kwin_magiclamp_config ${kwin_magiclamp_config_SRCS})
0028 
0029     target_link_libraries(kwin_magiclamp_config
0030         KF6::KCMUtils
0031         KF6::CoreAddons
0032         KF6::I18n
0033         Qt::DBus
0034         KWinEffectsInterface
0035     )
0036 endif()