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

0001 # SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 if (KWIN_BUILD_KCMS)
0006     add_subdirectory(kcm)
0007 endif()
0008 
0009 set(windowview_SOURCES
0010     main.cpp
0011     windowvieweffect.cpp
0012 )
0013 
0014 kconfig_add_kcfg_files(windowview_SOURCES
0015     windowviewconfig.kcfgc
0016 )
0017 
0018 qt_add_dbus_adaptor(windowview_SOURCES org.kde.KWin.Effect.WindowView1.xml windowvieweffect.h KWin::WindowViewEffect)
0019 
0020 kwin_add_builtin_effect(windowview ${windowview_SOURCES})
0021 
0022 target_link_libraries(windowview PRIVATE
0023     kwin
0024 
0025     KF6::ConfigGui
0026     KF6::GlobalAccel
0027     KF6::I18n
0028 
0029     Qt::Quick
0030     )
0031 
0032 install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/windowview)