plasma-framework/CMakeLists.txt
Aaron J. Seigo bbaebc6b1b move workspace/plasma/lib to workspace/lib/plasma so that we can do:
#include <plasma/foo.h>

in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.

also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00

81 lines
1.7 KiB
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
########### next target ###############
set(plasma_LIB_SRCS
abstractrunner.cpp
applet.cpp
corona.cpp
dataengine.cpp
dataenginemanager.cpp
datasource.cpp
plasma.cpp
plasma_export.h
svg.cpp
theme.cpp
karambamanager.cpp
widgets/checkbox.cpp
widgets/icon.cpp
widgets/lineedit.cpp
widgets/pushbutton.cpp
widgets/radiobutton.cpp
widgets/widget.cpp
widgets/layout.cpp
widgets/layoutitem.cpp
widgets/vboxlayout.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
abstractrunner.h
applet.h
corona.h
dataengine.h
dataenginemanager.h
datasource.h
plasma.h
plasma_export.h
svg.h
theme.h
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma )
install( FILES
widgets/icon.h
widgets/layout.h
widgets/layoutitem.h
widgets/lineedit.h
widgets/pushbutton.h
widgets/checkbox.h
widgets/radiobutton.h
widgets/vboxlayout.h
widgets/widget.h
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets )
install( FILES
includes/Applet
includes/Plasma
includes/AbstractRunner
includes/Theme
includes/DataEngine
includes/DataEngineManager
includes/DataSource
includes/Svg
DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/Plasma )
install( FILES
plasma_applet.desktop
plasma_dataengine.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR} )