2013-06-25 14:07:48 +00:00
|
|
|
#########################################################################
|
2014-04-30 07:03:23 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincompositing\")
|
2013-06-25 14:07:48 +00:00
|
|
|
|
|
|
|
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
|
|
|
|
|
2013-12-02 07:56:10 +00:00
|
|
|
remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY)
|
2013-06-25 14:07:48 +00:00
|
|
|
|
|
|
|
################# configure checks and create the configured files #################
|
|
|
|
|
2020-03-20 09:34:08 +00:00
|
|
|
set(kwincompositing_SRC
|
2013-08-01 16:20:37 +00:00
|
|
|
main.cpp
|
2019-09-17 09:15:35 +00:00
|
|
|
)
|
2013-06-25 14:07:48 +00:00
|
|
|
|
2020-03-20 09:34:08 +00:00
|
|
|
kconfig_add_kcfg_files(kwincompositing_SRC kwincompositing_setting.kcfgc GENERATE_MOC)
|
|
|
|
|
|
|
|
qt5_add_dbus_interface(kwincompositing_SRC
|
2020-01-07 16:26:28 +00:00
|
|
|
${KWin_SOURCE_DIR}/org.kde.kwin.Compositing.xml kwin_compositing_interface
|
2019-09-17 09:15:35 +00:00
|
|
|
)
|
2013-08-09 12:29:05 +00:00
|
|
|
|
2020-03-20 09:34:08 +00:00
|
|
|
ki18n_wrap_ui(kwincompositing_SRC compositing.ui)
|
2014-05-23 08:11:02 +00:00
|
|
|
|
2020-03-20 09:34:08 +00:00
|
|
|
add_library(kwincompositing MODULE ${kwincompositing_SRC})
|
2013-06-25 14:07:48 +00:00
|
|
|
|
|
|
|
target_link_libraries(kwincompositing
|
2019-09-18 10:31:02 +00:00
|
|
|
Qt5::DBus
|
|
|
|
Qt5::Widgets
|
|
|
|
|
2013-12-13 06:36:42 +00:00
|
|
|
KF5::ConfigCore
|
2019-09-17 09:15:35 +00:00
|
|
|
KF5::CoreAddons
|
2013-12-13 06:36:42 +00:00
|
|
|
KF5::I18n
|
2013-09-25 13:45:04 +00:00
|
|
|
KF5::KCMUtils
|
2013-12-02 07:56:10 +00:00
|
|
|
)
|
2013-09-10 08:41:42 +00:00
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
install(TARGETS kwincompositing DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES kwincompositing.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|