2007-07-17 23:27:05 +02:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs)
|
2006-02-28 09:01:15 +01:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
set(plasmagik_SRCS
|
|
|
|
packagemetadata.cpp
|
|
|
|
packagestructure.cpp
|
|
|
|
package.cpp
|
|
|
|
)
|
|
|
|
|
2007-05-20 23:05:27 +02:00
|
|
|
set(plasma_LIB_SRCS
|
2007-06-17 02:25:16 +02:00
|
|
|
${plasmagik_SRCS}
|
2007-06-08 07:24:19 +02:00
|
|
|
abstractrunner.cpp
|
|
|
|
animator.cpp
|
|
|
|
applet.cpp
|
2007-07-18 11:34:18 +02:00
|
|
|
configxml.cpp
|
2007-06-08 07:24:19 +02:00
|
|
|
corona.cpp
|
2007-07-23 02:22:16 +02:00
|
|
|
datacontainer.cpp
|
2007-06-08 07:24:19 +02:00
|
|
|
dataengine.cpp
|
|
|
|
dataenginemanager.cpp
|
2007-07-20 05:16:40 +02:00
|
|
|
packages.cpp
|
2007-06-08 07:24:19 +02:00
|
|
|
phase.cpp
|
|
|
|
plasma.cpp
|
|
|
|
plasma_export.h
|
2007-07-23 09:43:32 +02:00
|
|
|
scriptengine.cpp
|
2007-06-08 07:24:19 +02:00
|
|
|
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
|
2007-07-22 13:02:34 +02:00
|
|
|
widgets/flash.cpp
|
2006-12-17 00:04:44 +01:00
|
|
|
)
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-07-24 23:50:37 +02:00
|
|
|
if(QT_QTOPENGL_FOUND)
|
|
|
|
set(plasma_LIB_SRCS
|
|
|
|
${plasma_LIB_SRCS}
|
|
|
|
glapplet.cpp)
|
|
|
|
endif(QT_QTOPENGL_FOUND)
|
|
|
|
|
2007-07-17 23:27:05 +02:00
|
|
|
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-07-24 23:50:37 +02:00
|
|
|
target_link_libraries(plasma ${KDE4_KIO_LIBS} ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-07-17 23:27:05 +02:00
|
|
|
set_target_properties(plasma PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
|
|
|
install(TARGETS plasma DESTINATION ${LIB_INSTALL_DIR})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2007-07-18 11:34:18 +02:00
|
|
|
set(plasmagik_HEADERS
|
|
|
|
packagemetadata.h
|
|
|
|
packagestructure.h
|
|
|
|
package.h
|
|
|
|
)
|
|
|
|
|
2007-07-17 23:27:05 +02:00
|
|
|
install(FILES ${plasmagik_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/)
|
|
|
|
|
2007-07-24 23:50:37 +02:00
|
|
|
set(plasma_LIB_INCLUDES
|
2007-07-17 23:27:05 +02:00
|
|
|
abstractrunner.h
|
|
|
|
animator.h
|
|
|
|
applet.h
|
2007-07-18 11:34:18 +02:00
|
|
|
configxml.h
|
2007-07-17 23:27:05 +02:00
|
|
|
corona.h
|
2007-07-23 02:22:16 +02:00
|
|
|
datacontainer.h
|
2007-07-17 23:27:05 +02:00
|
|
|
dataengine.h
|
|
|
|
dataenginemanager.h
|
|
|
|
phase.h
|
|
|
|
plasma.h
|
|
|
|
plasma_export.h
|
2007-07-23 09:43:32 +02:00
|
|
|
scriptengine.cpp
|
2007-07-17 23:27:05 +02:00
|
|
|
svg.h
|
2007-07-24 23:50:37 +02:00
|
|
|
theme.h)
|
|
|
|
|
|
|
|
if(QT_QTOPENGL_FOUND)
|
|
|
|
set(plasma_LIB_INCLUDES
|
|
|
|
glapplet.h)
|
|
|
|
endif(QT_QTOPENGL_FOUND)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
${plasma_LIB_INCLUDES}
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma)
|
2007-07-17 23:27:05 +02:00
|
|
|
|
|
|
|
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
|
2007-07-22 13:02:34 +02:00
|
|
|
widgets/flash.h
|
2007-07-17 23:27:05 +02:00
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets)
|
|
|
|
|
|
|
|
install(FILES
|
2007-07-20 04:09:51 +02:00
|
|
|
includes/AbstractRunner
|
2007-07-17 23:27:05 +02:00
|
|
|
includes/Applet
|
2007-07-20 04:09:51 +02:00
|
|
|
includes/ConfigXml
|
2007-07-17 23:27:05 +02:00
|
|
|
includes/Phase
|
|
|
|
includes/Plasma
|
2007-07-20 04:09:51 +02:00
|
|
|
includes/Package
|
|
|
|
includes/Packager
|
|
|
|
includes/PackageStructure
|
2007-07-17 23:27:05 +02:00
|
|
|
includes/Theme
|
2007-07-23 02:22:16 +02:00
|
|
|
includes/DataContainer
|
2007-07-17 23:27:05 +02:00
|
|
|
includes/DataEngine
|
|
|
|
includes/DataEngineManager
|
2007-07-23 09:43:32 +02:00
|
|
|
includes/ScriptEngine
|
2007-07-17 23:27:05 +02:00
|
|
|
includes/Svg
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/Plasma)
|
|
|
|
|
|
|
|
install(FILES
|
2007-07-23 09:43:32 +02:00
|
|
|
servicetypes/plasma-animator.desktop
|
|
|
|
servicetypes/plasma-applet.desktop
|
|
|
|
servicetypes/plasma-dataengine.desktop
|
|
|
|
servicetypes/plasma-scriptengine.desktop
|
2007-07-17 23:27:05 +02:00
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
|