mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
restored some build fuincionality
This commit is contained in:
parent
b979115ea9
commit
9e200cae14
2 changed files with 62 additions and 44 deletions
|
@ -11,17 +11,25 @@ OPTION(KWIN_BUILD_KAPPMENU "Enable building of KWin with application menu suppor
|
|||
OPTION(KWIN_BUILD_XRENDER_COMPOSITING "Enable building of KWin with XRender Compositing support" ON)
|
||||
OPTION(KWIN_BUILD_OPENGL_1_COMPOSITING "Enable support for OpenGL 1.x, automatically disabled when building for OpenGL ES 2.0" ON)
|
||||
OPTION(KWIN_BUILD_ACTIVITIES "Enable building of KWin with kactivities support" ON)
|
||||
if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
|
||||
OPTION(KWIN_PLASMA_ACTIVE "Enable building KWin for Plasma Active." OFF)
|
||||
else()
|
||||
OPTION(KWIN_PLASMA_ACTIVE "Enable building KWin for Plasma Active." On)
|
||||
endif()
|
||||
|
||||
# Binary name of KWin
|
||||
set(KWIN_NAME "kwin")
|
||||
|
||||
set(KWIN_BUILD_DECORATIONS OFF)
|
||||
set(KWIN_BUILD_KCMS OFF)
|
||||
set(KWIN_BUILD_SCREENEDGES OFF)
|
||||
set(KWIN_BUILD_SCRIPTING ON)
|
||||
set(KWIN_BUILD_XRENDER_COMPOSITING OFF)
|
||||
set(KWIN_BUILD_WITH_OPENGLES ON)
|
||||
set(KWIN_NAME "kwinactive")
|
||||
if(KWIN_PLASMA_ACTIVE)
|
||||
set(KWIN_BUILD_DECORATIONS OFF)
|
||||
set(KWIN_BUILD_KCMS OFF)
|
||||
set(KWIN_BUILD_SCREENEDGES OFF)
|
||||
set(KWIN_BUILD_SCRIPTING ON)
|
||||
set(KWIN_BUILD_XRENDER_COMPOSITING OFF)
|
||||
set(KWIN_MOBILE_EFFECTS ON)
|
||||
set(KWIN_BUILD_WITH_OPENGLES ON)
|
||||
set(KWIN_NAME "kwinactive")
|
||||
endif()
|
||||
|
||||
cmake_dependent_option(KWIN_BUILD_KAPPMENU "Build without appmenu support" ON "KWIN_BUILD_DECORATIONS" FALSE)
|
||||
|
||||
|
|
|
@ -91,7 +91,9 @@ install( FILES kwineffect.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|||
|
||||
# Create initial variables
|
||||
set( kwin4_effect_builtins_sources )
|
||||
set( kwin4_effect_builtins_config_sources configs_builtins.cpp )
|
||||
if( NOT KWIN_MOBILE_EFFECTS )
|
||||
set( kwin4_effect_builtins_config_sources configs_builtins.cpp )
|
||||
endif()
|
||||
set( kwin4_effect_include_directories )
|
||||
|
||||
# scripted effects
|
||||
|
@ -100,10 +102,12 @@ add_subdirectory( fade )
|
|||
add_subdirectory( login )
|
||||
|
||||
# scripted effects only relevant to desktop
|
||||
add_subdirectory( fadedesktop )
|
||||
add_subdirectory( maximize )
|
||||
add_subdirectory( scalein )
|
||||
add_subdirectory( translucency )
|
||||
if( NOT KWIN_MOBILE_EFFECTS )
|
||||
add_subdirectory( fadedesktop )
|
||||
add_subdirectory( maximize )
|
||||
add_subdirectory( scalein )
|
||||
add_subdirectory( translucency )
|
||||
endif()
|
||||
|
||||
###############################################################################
|
||||
# Built-in effects go here
|
||||
|
@ -116,45 +120,51 @@ include( slidingpopups/CMakeLists.txt )
|
|||
include( taskbarthumbnail/CMakeLists.txt )
|
||||
|
||||
# Common effects only relevant to desktop
|
||||
include( dashboard/CMakeLists.txt )
|
||||
include( desktopgrid/CMakeLists.txt )
|
||||
include( diminactive/CMakeLists.txt )
|
||||
include( dimscreen/CMakeLists.txt )
|
||||
include( fallapart/CMakeLists.txt )
|
||||
include( highlightwindow/CMakeLists.txt )
|
||||
include( magiclamp/CMakeLists.txt )
|
||||
include( minimizeanimation/CMakeLists.txt )
|
||||
include( resize/CMakeLists.txt )
|
||||
include( showfps/CMakeLists.txt )
|
||||
include( showpaint/CMakeLists.txt )
|
||||
include( slide/CMakeLists.txt )
|
||||
include( slideback/CMakeLists.txt )
|
||||
include( thumbnailaside/CMakeLists.txt )
|
||||
include( windowgeometry/CMakeLists.txt )
|
||||
include( zoom/CMakeLists.txt )
|
||||
include( logout/CMakeLists.txt )
|
||||
if( NOT KWIN_MOBILE_EFFECTS )
|
||||
include( dashboard/CMakeLists.txt )
|
||||
include( desktopgrid/CMakeLists.txt )
|
||||
include( diminactive/CMakeLists.txt )
|
||||
include( dimscreen/CMakeLists.txt )
|
||||
include( fallapart/CMakeLists.txt )
|
||||
include( highlightwindow/CMakeLists.txt )
|
||||
include( magiclamp/CMakeLists.txt )
|
||||
include( minimizeanimation/CMakeLists.txt )
|
||||
include( resize/CMakeLists.txt )
|
||||
include( showfps/CMakeLists.txt )
|
||||
include( showpaint/CMakeLists.txt )
|
||||
include( slide/CMakeLists.txt )
|
||||
include( slideback/CMakeLists.txt )
|
||||
include( thumbnailaside/CMakeLists.txt )
|
||||
include( windowgeometry/CMakeLists.txt )
|
||||
include( zoom/CMakeLists.txt )
|
||||
include( logout/CMakeLists.txt )
|
||||
endif()
|
||||
|
||||
# OpenGL-specific effects
|
||||
include( blur/CMakeLists.txt )
|
||||
include( screenshot/CMakeLists.txt )
|
||||
# OpenGL-specific effects for desktop
|
||||
include( coverswitch/CMakeLists.txt )
|
||||
include( cube/CMakeLists.txt )
|
||||
include( flipswitch/CMakeLists.txt )
|
||||
include( glide/CMakeLists.txt )
|
||||
include( invert/CMakeLists.txt )
|
||||
include( lookingglass/CMakeLists.txt )
|
||||
include( magnifier/CMakeLists.txt )
|
||||
include( mouseclick/CMakeLists.txt )
|
||||
include( mousemark/CMakeLists.txt )
|
||||
include( sheet/CMakeLists.txt )
|
||||
include( snaphelper/CMakeLists.txt )
|
||||
include( startupfeedback/CMakeLists.txt )
|
||||
include( trackmouse/CMakeLists.txt )
|
||||
include( wobblywindows/CMakeLists.txt )
|
||||
if( NOT KWIN_MOBILE_EFFECTS )
|
||||
include( coverswitch/CMakeLists.txt )
|
||||
include( cube/CMakeLists.txt )
|
||||
include( flipswitch/CMakeLists.txt )
|
||||
include( glide/CMakeLists.txt )
|
||||
include( invert/CMakeLists.txt )
|
||||
include( lookingglass/CMakeLists.txt )
|
||||
include( magnifier/CMakeLists.txt )
|
||||
include( mouseclick/CMakeLists.txt )
|
||||
include( mousemark/CMakeLists.txt )
|
||||
include( sheet/CMakeLists.txt )
|
||||
include( snaphelper/CMakeLists.txt )
|
||||
include( startupfeedback/CMakeLists.txt )
|
||||
include( trackmouse/CMakeLists.txt )
|
||||
include( wobblywindows/CMakeLists.txt )
|
||||
endif()
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Add the builtins plugin
|
||||
KWIN4_ADD_EFFECT( builtins ${kwin4_effect_builtins_sources} )
|
||||
KWIN4_ADD_EFFECT_CONFIG( builtins ${kwin4_effect_builtins_config_sources} )
|
||||
if( NOT KWIN_MOBILE_EFFECTS )
|
||||
KWIN4_ADD_EFFECT_CONFIG( builtins ${kwin4_effect_builtins_config_sources} )
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue