5cfabdc869
* caching rendered pixmaps * looking up the images from the Plasma::Theme * scheduling needed updates, e.g. when the plasma theme changes svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640418
45 lines
840 B
CMake
45 lines
840 B
CMake
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
########### next target ###############
|
|
|
|
set(plasma_LIB_SRCS
|
|
plasma.cpp
|
|
applet.cpp
|
|
interface.cpp
|
|
runner.cpp
|
|
svg.cpp
|
|
theme.cpp
|
|
dataengine.cpp
|
|
datavisualization.cpp
|
|
|
|
widgets/widget.cpp
|
|
widgets/lineedit.cpp
|
|
widgets/pushbutton.cpp
|
|
)
|
|
|
|
kde4_automoc(${plasma_LIB_SRCS})
|
|
|
|
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
|
|
|
target_link_libraries(plasma ${KDE4_KIO_LIBS} )
|
|
|
|
set_target_properties(plasma PROPERTIES VERSION 1.0.0 SOVERSION 1 )
|
|
install(TARGETS plasma DESTINATION ${LIB_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES
|
|
applet.h
|
|
plasma.h
|
|
runner.h
|
|
theme.h
|
|
interface.h
|
|
dataengine.h
|
|
|
|
widgets/widget.h
|
|
widgets/lineedit.h
|
|
widgets/pushbutton.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma )
|
|
|