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

0001 ecm_setup_version(${PROJECT_VERSION}
0002                   VARIABLE_PREFIX KWIN
0003                   PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KWinConfigVersion.cmake"
0004                   SOVERSION 6
0005 )
0006 
0007 set(KWIN_KILLER_BIN ${CMAKE_INSTALL_FULL_LIBEXECDIR}/kwin_killer_helper)
0008 
0009 configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h)
0010 
0011 set(kwin_effects_dbus_xml ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kwin.Effects.xml)
0012 qt_add_dbus_interface(effects_interface_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
0013 add_library(KWinEffectsInterface STATIC ${effects_interface_SRCS})
0014 set_property(TARGET KWinEffectsInterface PROPERTY POSITION_INDEPENDENT_CODE ON)
0015 
0016 target_link_libraries(KWinEffectsInterface Qt::DBus)
0017 
0018 add_subdirectory(helpers)
0019 add_subdirectory(qml)
0020 
0021 if (KWIN_BUILD_KCMS)
0022     add_subdirectory(kcms)
0023 endif()
0024 
0025 add_library(kwin SHARED)
0026 target_include_directories(kwin INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/kwin>")
0027 set_target_properties(kwin PROPERTIES
0028    VERSION ${PROJECT_VERSION}
0029    SOVERSION 6
0030 )
0031 
0032 target_compile_definitions(kwin PRIVATE
0033     -DTRANSLATION_DOMAIN=\"kwin\"
0034 )
0035 
0036 target_sources(kwin PRIVATE
0037     3rdparty/xcursor.c
0038     activation.cpp
0039     appmenu.cpp
0040     atoms.cpp
0041     client_machine.cpp
0042     colors/colordevice.cpp
0043     colors/colormanager.cpp
0044     compositor.cpp
0045     compositor_wayland.cpp
0046     compositor_x11.cpp
0047     core/colorlut.cpp
0048     core/colorlut3d.cpp
0049     core/colorpipelinestage.cpp
0050     core/colorspace.cpp
0051     core/colortransformation.cpp
0052     core/gbmgraphicsbufferallocator.cpp
0053     core/graphicsbuffer.cpp
0054     core/graphicsbufferallocator.cpp
0055     core/graphicsbufferview.cpp
0056     core/iccprofile.cpp
0057     core/inputbackend.cpp
0058     core/inputdevice.cpp
0059     core/output.cpp
0060     core/outputbackend.cpp
0061     core/outputconfiguration.cpp
0062     core/outputlayer.cpp
0063     core/overlaywindow.cpp
0064     core/renderbackend.cpp
0065     core/renderjournal.cpp
0066     core/renderlayer.cpp
0067     core/renderlayerdelegate.cpp
0068     core/renderloop.cpp
0069     core/rendertarget.cpp
0070     core/renderviewport.cpp
0071     core/session.cpp
0072     core/session_consolekit.cpp
0073     core/session_logind.cpp
0074     core/session_noop.cpp
0075     core/shmgraphicsbufferallocator.cpp
0076     cursor.cpp
0077     cursorsource.cpp
0078     dbusinterface.cpp
0079     debug_console.cpp
0080     decorations/decoratedclient.cpp
0081     decorations/decorationbridge.cpp
0082     decorations/decorationpalette.cpp
0083     decorations/decorations_logging.cpp
0084     decorations/settings.cpp
0085     dpmsinputeventfilter.cpp
0086     effect/anidata.cpp
0087     effect/animationeffect.cpp
0088     effect/effect.cpp
0089     effect/effectframe.cpp
0090     effect/effecthandler.cpp
0091     effect/effectloader.cpp
0092     effect/effecttogglablestate.cpp
0093     effect/effectwindow.cpp
0094     effect/logging.cpp
0095     effect/offscreeneffect.cpp
0096     effect/offscreenquickview.cpp
0097     effect/quickeffect.cpp
0098     effect/timeline.cpp
0099     events.cpp
0100     focuschain.cpp
0101     ftrace.cpp
0102     gestures.cpp
0103     group.cpp
0104     hide_cursor_spy.cpp
0105     idle_inhibition.cpp
0106     idledetector.cpp
0107     input.cpp
0108     input_event.cpp
0109     input_event_spy.cpp
0110     inputmethod.cpp
0111     inputpanelv1integration.cpp
0112     inputpanelv1window.cpp
0113     internalwindow.cpp
0114     keyboard_input.cpp
0115     keyboard_layout.cpp
0116     keyboard_layout_switching.cpp
0117     keyboard_repeat.cpp
0118     killprompt.cpp
0119     killwindow.cpp
0120     kscreenintegration.cpp
0121     layers.cpp
0122     layershellv1integration.cpp
0123     layershellv1window.cpp
0124     lidswitchtracker.cpp
0125     main.cpp
0126     modifier_only_shortcuts.cpp
0127     mousebuttons.cpp
0128     moving_client_x11_filter.cpp
0129     netinfo.cpp
0130     onscreennotification.cpp
0131     opengl/abstract_opengl_context_attribute_builder.cpp
0132     opengl/egl_context_attribute_builder.cpp
0133     opengl/eglcontext.cpp
0134     opengl/egldisplay.cpp
0135     opengl/eglimagetexture.cpp
0136     opengl/eglnativefence.cpp
0137     opengl/eglswapchain.cpp
0138     opengl/glframebuffer.cpp
0139     opengl/gllut.cpp
0140     opengl/gllut3D.cpp
0141     opengl/glplatform.cpp
0142     opengl/glrendertimequery.cpp
0143     opengl/glshader.cpp
0144     opengl/glshadermanager.cpp
0145     opengl/gltexture.cpp
0146     opengl/glutils.cpp
0147     opengl/glutils_funcs.cpp
0148     opengl/glvertexbuffer.cpp
0149     opengl/openglcontext.cpp
0150     options.cpp
0151     osd.cpp
0152     outline.cpp
0153     outputconfigurationstore.cpp
0154     placeholderinputeventfilter.cpp
0155     placeholderoutput.cpp
0156     placement.cpp
0157     placementtracker.cpp
0158     plugin.cpp
0159     pluginmanager.cpp
0160     pointer_input.cpp
0161     popup_input_filter.cpp
0162     resources.qrc
0163     rootinfo_filter.cpp
0164     rulebooksettings.cpp
0165     rules.cpp
0166     scene/cursordelegate_opengl.cpp
0167     scene/cursordelegate_qpainter.cpp
0168     scene/cursoritem.cpp
0169     scene/cursorscene.cpp
0170     scene/decorationitem.cpp
0171     scene/dndiconitem.cpp
0172     scene/imageitem.cpp
0173     scene/item.cpp
0174     scene/itemgeometry.cpp
0175     scene/itemrenderer.cpp
0176     scene/itemrenderer_opengl.cpp
0177     scene/itemrenderer_qpainter.cpp
0178     scene/scene.cpp
0179     scene/shadowitem.cpp
0180     scene/surfaceitem.cpp
0181     scene/surfaceitem_internal.cpp
0182     scene/surfaceitem_wayland.cpp
0183     scene/surfaceitem_x11.cpp
0184     scene/windowitem.cpp
0185     scene/workspacescene.cpp
0186     scene/workspacescene_opengl.cpp
0187     scene/workspacescene_qpainter.cpp
0188     screenedge.cpp
0189     scripting/dbuscall.cpp
0190     scripting/desktopbackgrounditem.cpp
0191     scripting/gesturehandler.cpp
0192     scripting/screenedgehandler.cpp
0193     scripting/scriptedeffect.cpp
0194     scripting/scriptedquicksceneeffect.cpp
0195     scripting/scripting.cpp
0196     scripting/scripting_logging.cpp
0197     scripting/scriptingutils.cpp
0198     scripting/shortcuthandler.cpp
0199     scripting/tilemodel.cpp
0200     scripting/virtualdesktopmodel.cpp
0201     scripting/windowmodel.cpp
0202     scripting/windowthumbnailitem.cpp
0203     scripting/workspace_wrapper.cpp
0204     shadow.cpp
0205     sm.cpp
0206     syncalarmx11filter.cpp
0207     tablet_input.cpp
0208     tabletmodemanager.cpp
0209     tiles/customtile.cpp
0210     tiles/quicktile.cpp
0211     tiles/tile.cpp
0212     tiles/tilemanager.cpp
0213     touch_input.cpp
0214     useractions.cpp
0215     utils/version.cpp
0216     virtualdesktops.cpp
0217     virtualdesktopsdbustypes.cpp
0218     virtualkeyboard_dbus.cpp
0219     was_user_interaction_x11_filter.cpp
0220     wayland_server.cpp
0221     waylandshellintegration.cpp
0222     waylandwindow.cpp
0223     window.cpp
0224     window_property_notify_x11_filter.cpp
0225     workspace.cpp
0226     x11eventfilter.cpp
0227     x11syncmanager.cpp
0228     x11window.cpp
0229     xdgactivationv1.cpp
0230     xdgshellintegration.cpp
0231     xdgshellwindow.cpp
0232     xkb.cpp
0233 )
0234 
0235 target_link_libraries(kwin
0236     PUBLIC
0237         Qt::DBus
0238         Qt::Quick
0239         Qt::Widgets
0240         Wayland::Server
0241         KF6::ConfigCore
0242         KF6::CoreAddons
0243         KF6::WindowSystem
0244         epoxy::epoxy
0245 
0246     PRIVATE
0247         Qt::Concurrent
0248         Qt::Sensors
0249         Qt::GuiPrivate
0250 
0251         KF6::ConfigQml
0252         KF6::ConfigWidgets
0253         KF6::Crash
0254         KF6::GlobalAccel
0255         KF6::I18n
0256         KF6::Package
0257         KF6::Service
0258 
0259         KDecoration2::KDecoration
0260         KDecoration2::KDecoration2Private
0261 
0262         XCB::COMPOSITE
0263         XCB::CURSOR
0264         XCB::DAMAGE
0265         XCB::GLX
0266         XCB::ICCCM
0267         XCB::KEYSYMS
0268         XCB::RANDR
0269         XCB::RENDER
0270         XCB::SHAPE
0271         XCB::SHM
0272         XCB::SYNC
0273         XCB::XCB
0274         XCB::XFIXES
0275         XCB::XINERAMA
0276 
0277         UDev::UDev
0278         XKB::XKB
0279         EGL::EGL
0280         epoxy::epoxy
0281 
0282         Threads::Threads
0283         lcms2::lcms2
0284         PkgConfig::libdisplayinfo
0285 )
0286 
0287 if (TARGET K::KGlobalAccelD)
0288     target_sources(kwin PRIVATE globalshortcuts.cpp)
0289     target_link_libraries(kwin PRIVATE K::KGlobalAccelD)
0290 endif()
0291 
0292 if (KWIN_BUILD_NOTIFICATIONS)
0293     target_link_libraries(kwin PRIVATE KF6::Notifications)
0294 endif()
0295 
0296 kconfig_add_kcfg_files(kwin
0297     settings.kcfgc
0298     rulesettings.kcfgc
0299     rulebooksettingsbase.kcfgc
0300 )
0301 
0302 ki18n_wrap_ui(kwin
0303     debug_console.ui
0304     shortcutdialog.ui
0305 )
0306 
0307 set(kwin_dbus_SRCS)
0308 qt_add_dbus_adaptor(kwin_dbus_SRCS scripting/org.kde.kwin.Script.xml scripting/scripting.h KWin::AbstractScript)
0309 qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.xml dbusinterface.h KWin::DBusInterface)
0310 qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.kwin.Compositing.xml dbusinterface.h KWin::CompositorDBusInterface)
0311 qt_add_dbus_adaptor(kwin_dbus_SRCS ${kwin_effects_dbus_xml} effect/effecthandler.h KWin::EffectsHandler)
0312 qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.VirtualDesktopManager.xml dbusinterface.h KWin::VirtualDesktopManagerDBusInterface)
0313 qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.Session.xml sm.h KWin::SessionManager)
0314 qt_add_dbus_adaptor(kwin_dbus_SRCS org.kde.KWin.Plugins.xml dbusinterface.h KWin::PluginManagerDBusInterface)
0315 qt_add_dbus_interface(kwin_dbus_SRCS org.freedesktop.DBus.Properties.xml dbusproperties_interface)
0316 
0317 if (KWIN_BUILD_SCREENLOCKER)
0318     qt_add_dbus_interface(kwin_dbus_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/kf6_org.freedesktop.ScreenSaver.xml screenlocker_interface)
0319     qt_add_dbus_interface(kwin_dbus_SRCS ${KSCREENLOCKER_DBUS_INTERFACES_DIR}/org.kde.screensaver.xml kscreenlocker_interface)
0320 endif()
0321 
0322 qt_add_dbus_interface(kwin_dbus_SRCS org.kde.kappmenu.xml appmenu_interface)
0323 
0324 target_sources(kwin PRIVATE
0325     ${kwin_dbus_SRCS}
0326 )
0327 
0328 add_subdirectory(backends)
0329 add_subdirectory(platformsupport)
0330 add_subdirectory(plugins)
0331 add_subdirectory(utils)
0332 add_subdirectory(wayland)
0333 add_subdirectory(xwayland)
0334 
0335 if (KWIN_BUILD_ACTIVITIES)
0336     target_sources(kwin PRIVATE activities.cpp)
0337     target_link_libraries(kwin PRIVATE Plasma::Activities)
0338 endif()
0339 
0340 if (KWIN_BUILD_SCREENLOCKER)
0341     target_sources(kwin PRIVATE screenlockerwatcher.cpp)
0342     target_link_libraries(kwin PRIVATE PW::KScreenLocker)
0343 endif()
0344 
0345 if (KWIN_BUILD_TABBOX)
0346     target_sources(kwin PRIVATE
0347         tabbox/clientmodel.cpp
0348         tabbox/switcheritem.cpp
0349         tabbox/tabbox.cpp
0350         tabbox/tabbox_logging.cpp
0351         tabbox/tabboxconfig.cpp
0352         tabbox/tabboxhandler.cpp
0353         tabbox/x11_filter.cpp
0354     )
0355     add_subdirectory(tabbox/switchers)
0356 endif()
0357 
0358 qt_generate_dbus_interface(virtualkeyboard_dbus.h org.kde.kwin.VirtualKeyboard.xml OPTIONS -A)
0359 qt_generate_dbus_interface(tabletmodemanager.h org.kde.KWin.TabletModeManager.xml OPTIONS -A)
0360 
0361 generate_export_header(kwin EXPORT_FILE_NAME kwin_export.h)
0362 
0363 add_executable(kwin_x11 main_x11.cpp)
0364 target_link_libraries(kwin_x11
0365     KWinX11Platform
0366     kwin
0367     KF6::GlobalAccel
0368 )
0369 target_compile_definitions(kwin_x11 PRIVATE
0370     -DTRANSLATION_DOMAIN=\"kwin\"
0371 )
0372 kcoreaddons_target_static_plugins(kwin_x11 NAMESPACE "kwin/effects/plugins")
0373 
0374 install(TARGETS kwin EXPORT KWinTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0375 install(TARGETS kwin_x11 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0376 
0377 add_executable(kwin_wayland main_wayland.cpp)
0378 
0379 target_link_libraries(kwin_wayland
0380     kwin
0381     KWinXwaylandServerModule
0382     KF6::Crash
0383 )
0384 target_compile_definitions(kwin_wayland PRIVATE
0385     -DTRANSLATION_DOMAIN=\"kwin\"
0386 )
0387 kcoreaddons_target_static_plugins(kwin_wayland NAMESPACE "kwin/effects/plugins")
0388 
0389 install(TARGETS kwin_wayland ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0390 if (HAVE_LIBCAP)
0391     install(
0392     CODE "execute_process(
0393             COMMAND
0394                 ${SETCAP_EXECUTABLE}
0395                 CAP_SYS_NICE=+ep
0396                 \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/kwin_wayland)"
0397     )
0398 endif()
0399 
0400 target_link_libraries(kwin_wayland
0401     KWinQpaPlugin
0402     KF6WindowSystemKWinPlugin
0403     KF6IdleTimeKWinPlugin
0404 )
0405 
0406 if (TARGET KF6GlobalAccelKWinPlugin)
0407     target_link_libraries(kwin_wayland KF6GlobalAccelKWinPlugin)
0408 endif()
0409 
0410 add_custom_target(
0411     KWinDBusInterfaces
0412     ALL
0413     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kwin.VirtualKeyboard.xml
0414             ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KWin.TabletModeManager.xml
0415 )
0416 
0417 install(FILES kwin.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
0418 if (KWIN_BUILD_NOTIFICATIONS)
0419     install(FILES kwin.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})
0420 endif()
0421 install(
0422     FILES
0423         org.kde.KWin.VirtualDesktopManager.xml
0424         org.kde.KWin.xml
0425         org.kde.kwin.Compositing.xml
0426         org.kde.kwin.Effects.xml
0427         org.kde.KWin.Plugins.xml
0428         ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kwin.VirtualKeyboard.xml
0429         ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KWin.TabletModeManager.xml
0430     DESTINATION
0431         ${KDE_INSTALL_DBUSINTERFACEDIR}
0432 )
0433 
0434 install(EXPORT KWinTargets DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/KWin" FILE KWinTargets.cmake NAMESPACE KWin:: )
0435 
0436 install(FILES
0437     ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h
0438     ${CMAKE_CURRENT_BINARY_DIR}/kwin_export.h
0439     activities.h
0440     appmenu.h
0441     atoms.h
0442     client_machine.h
0443     compositor.h
0444     cursor.h
0445     cursorsource.h
0446     dbusinterface.h
0447     debug_console.h
0448     focuschain.h
0449     ftrace.h
0450     gestures.h
0451     globalshortcuts.h
0452     group.h
0453     idledetector.h
0454     idle_inhibition.h
0455     input_event.h
0456     input_event_spy.h
0457     input.h
0458     inputmethod.h
0459     inputpanelv1integration.h
0460     inputpanelv1window.h
0461     internalwindow.h
0462     keyboard_input.h
0463     keyboard_layout.h
0464     keyboard_layout_switching.h
0465     keyboard_repeat.h
0466     killwindow.h
0467     kscreenintegration.h
0468     layershellv1integration.h
0469     layershellv1window.h
0470     lidswitchtracker.h
0471     main.h
0472     mousebuttons.h
0473     netinfo.h
0474     onscreennotification.h
0475     options.h
0476     osd.h
0477     outline.h
0478     outputconfigurationstore.h
0479     placeholderoutput.h
0480     placement.h
0481     placementtracker.h
0482     plugin.h
0483     pluginmanager.h
0484     pointer_input.h
0485     rulebooksettings.h
0486     rules.h
0487     screenedge.h
0488     screenlockerwatcher.h
0489     shadow.h
0490     sm.h
0491     tablet_input.h
0492     tabletmodemanager.h
0493     touch_input.h
0494     useractions.h
0495     virtualdesktopsdbustypes.h
0496     virtualdesktops.h
0497     virtualkeyboard_dbus.h
0498     wayland_server.h
0499     waylandshellintegration.h
0500     waylandwindow.h
0501     window.h
0502     workspace.h
0503     x11eventfilter.h
0504     x11window.h
0505     xdgactivationv1.h
0506     xdgshellintegration.h
0507     xdgshellwindow.h
0508     xkb.h
0509     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin COMPONENT Devel)
0510 
0511 install(FILES
0512     core/colorlut.h
0513     core/colorlut3d.h
0514     core/colorpipelinestage.h
0515     core/colorspace.h
0516     core/colortransformation.h
0517     core/gbmgraphicsbufferallocator.h
0518     core/graphicsbuffer.h
0519     core/graphicsbufferallocator.h
0520     core/graphicsbufferview.h
0521     core/iccprofile.h
0522     core/inputbackend.h
0523     core/inputdevice.h
0524     core/output.h
0525     core/outputbackend.h
0526     core/outputconfiguration.h
0527     core/outputlayer.h
0528     core/overlaywindow.h
0529     core/pixelgrid.h
0530     core/renderbackend.h
0531     core/renderjournal.h
0532     core/renderlayer.h
0533     core/renderlayerdelegate.h
0534     core/renderloop.h
0535     core/renderloop_p.h
0536     core/rendertarget.h
0537     core/renderviewport.h
0538     core/session.h
0539     core/session_consolekit.h
0540     core/session_logind.h
0541     core/session_noop.h
0542     core/shmgraphicsbufferallocator.h
0543     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/core COMPONENT Devel)
0544 
0545 install(FILES
0546     utils/c_ptr.h
0547     utils/common.h
0548     utils/damagejournal.h
0549     utils/drm_format_helper.h
0550     utils/edid.h
0551     utils/executable_path.h
0552     utils/filedescriptor.h
0553     utils/kernel.h
0554     utils/memorymap.h
0555     utils/orientationsensor.h
0556     utils/ramfile.h
0557     utils/realtime.h
0558     utils/resource.h
0559     utils/serviceutils.h
0560     utils/softwarevsyncmonitor.h
0561     utils/subsurfacemonitor.h
0562     utils/udev.h
0563     utils/version.h
0564     utils/vsyncmonitor.h
0565     utils/xcbutils.h
0566     utils/xcursortheme.h
0567     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/utils COMPONENT Devel)
0568 
0569 install(FILES
0570     effect/animationeffect.h
0571     effect/effect.h
0572     effect/effecthandler.h
0573     effect/effecttogglablestate.h
0574     effect/effectwindow.h
0575     effect/globals.h
0576     effect/offscreeneffect.h
0577     effect/offscreenquickview.h
0578     effect/quickeffect.h
0579     effect/timeline.h
0580     effect/xcb.h
0581     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/effect COMPONENT Devel)
0582 
0583 install(FILES
0584     opengl/abstract_opengl_context_attribute_builder.h
0585     opengl/egl_context_attribute_builder.h
0586     opengl/eglcontext.h
0587     opengl/egldisplay.h
0588     opengl/eglimagetexture.h
0589     opengl/eglnativefence.h
0590     opengl/eglswapchain.h
0591     opengl/eglutils_p.h
0592     opengl/glframebuffer.h
0593     opengl/gllut3D.h
0594     opengl/gllut.h
0595     opengl/glplatform.h
0596     opengl/glrendertimequery.h
0597     opengl/glshader.h
0598     opengl/glshadermanager.h
0599     opengl/gltexture.h
0600     opengl/gltexture_p.h
0601     opengl/glutils_funcs.h
0602     opengl/glutils.h
0603     opengl/glvertexbuffer.h
0604     opengl/openglcontext.h
0605     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/opengl COMPONENT Devel
0606 )
0607 
0608 install(FILES
0609     scene/item.h
0610     scene/itemgeometry.h
0611     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/scene COMPONENT Devel
0612 )
0613 
0614 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KWin")
0615 
0616 install(FILES  "${CMAKE_CURRENT_BINARY_DIR}/KWinConfig.cmake"
0617                "${CMAKE_CURRENT_BINARY_DIR}/KWinConfigVersion.cmake"
0618         DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
0619         COMPONENT Devel )
0620 
0621 configure_package_config_file(
0622   "${CMAKE_CURRENT_SOURCE_DIR}/KWinConfig.cmake.in"
0623   "${CMAKE_CURRENT_BINARY_DIR}/KWinConfig.cmake"
0624   INSTALL_DESTINATION  ${CMAKECONFIG_INSTALL_DIR}
0625 )
0626 
0627 install(EXPORT KWinTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE KWinTargets.cmake NAMESPACE KWin:: )