kwin/clients/oxygen/CMakeLists.txt
Hugo Pereira Da Costa fdddfcf9ee Added oxygen-shadow-demo to demonstrate shadow painting, add the possibility to save pixmaps
into files, and for debugging.

svn path=/trunk/KDE/kdebase/workspace/; revision=1217934
2011-01-29 18:12:23 +00:00

38 lines
1.1 KiB
CMake

########### add version number into compilation defines
add_definitions ( -DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
add_subdirectory( config )
add_subdirectory( demo )
include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
########### next target ###############
set(kwin_oxygen_SRCS
oxygenbutton.cpp
oxygenclient.cpp
oxygenclientgroupitemdata.cpp
oxygenconfiguration.cpp
oxygendecohelper.cpp
oxygenexception.cpp
oxygenexceptionlist.cpp
oxygenfactory.cpp
oxygenshadowcache.cpp
oxygenshadowconfiguration.cpp
oxygensizegrip.cpp
oxygentitleanimationdata.cpp
)
kde4_add_plugin(kwin3_oxygen ${kwin_oxygen_SRCS})
target_link_libraries(
kwin3_oxygen
${KDE4_KDEUI_LIBS}
${X11_X11_LIB}
${X11_Xrender_LIB}
kdecorations
oxygenstyle
)
install(TARGETS kwin3_oxygen DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
install( FILES oxygenclient.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/ )