2007-06-16 11:10:59 +02:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/workspace/libs)
|
2006-02-28 09:01:15 +01:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
set(plasmagik_SRCS
|
|
|
|
packagemetadata.cpp
|
|
|
|
packager.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
|
|
|
|
corona.cpp
|
|
|
|
dataengine.cpp
|
|
|
|
dataenginemanager.cpp
|
|
|
|
datasource.cpp
|
|
|
|
phase.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
|
2006-12-17 00:04:44 +01:00
|
|
|
)
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-06-17 02:25:16 +02:00
|
|
|
set(plasmagik_HEADERS
|
|
|
|
packagemetadata.h
|
|
|
|
packager.h
|
|
|
|
packagestructure.h
|
|
|
|
package.h
|
|
|
|
)
|
|
|
|
|
2007-05-20 23:05:27 +02:00
|
|
|
kde4_automoc(${plasma_LIB_SRCS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-05-20 23:05:27 +02:00
|
|
|
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-06-08 07:28:22 +02:00
|
|
|
target_link_libraries(plasma ${KDE4_KIO_LIBS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-06-08 07:28:22 +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-06-17 02:25:16 +02:00
|
|
|
install(FILES ${plasmagik_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/)
|
|
|
|
|
2007-06-08 07:28:22 +02:00
|
|
|
install(FILES
|
2007-03-20 18:37:44 +01:00
|
|
|
abstractrunner.h
|
2007-06-08 07:24:19 +02:00
|
|
|
animator.h
|
2007-05-20 22:13:46 +02:00
|
|
|
applet.h
|
2007-06-01 00:27:33 +02:00
|
|
|
corona.h
|
2007-03-01 00:35:26 +01:00
|
|
|
dataengine.h
|
2007-05-23 09:51:28 +02:00
|
|
|
dataenginemanager.h
|
2007-05-20 22:36:59 +02:00
|
|
|
datasource.h
|
2007-06-08 07:24:19 +02:00
|
|
|
phase.h
|
2007-05-20 22:13:46 +02:00
|
|
|
plasma.h
|
|
|
|
plasma_export.h
|
|
|
|
svg.h
|
|
|
|
theme.h
|
2007-06-08 07:28:22 +02:00
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma)
|
2007-06-02 19:29:39 +02:00
|
|
|
|
2007-06-08 07:28:22 +02:00
|
|
|
install(FILES
|
2007-05-29 09:59:50 +02:00
|
|
|
widgets/icon.h
|
|
|
|
widgets/layout.h
|
|
|
|
widgets/layoutitem.h
|
2007-03-04 21:35:37 +01:00
|
|
|
widgets/lineedit.h
|
2007-03-05 05:16:05 +01:00
|
|
|
widgets/pushbutton.h
|
2007-03-12 14:52:12 +01:00
|
|
|
widgets/checkbox.h
|
2007-05-19 23:00:16 +02:00
|
|
|
widgets/radiobutton.h
|
2007-05-29 09:59:50 +02:00
|
|
|
widgets/vboxlayout.h
|
|
|
|
widgets/widget.h
|
2007-06-08 07:28:22 +02:00
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets)
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-06-08 07:28:22 +02:00
|
|
|
install(FILES
|
2007-03-20 18:37:44 +01:00
|
|
|
includes/Applet
|
|
|
|
includes/Plasma
|
|
|
|
includes/AbstractRunner
|
|
|
|
includes/Theme
|
|
|
|
includes/DataEngine
|
2007-05-23 09:51:28 +02:00
|
|
|
includes/DataEngineManager
|
|
|
|
includes/DataSource
|
2007-03-20 18:37:44 +01:00
|
|
|
includes/Svg
|
2007-06-08 07:28:22 +02:00
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/Plasma)
|
2007-03-20 18:37:44 +01:00
|
|
|
|
2007-06-08 07:28:22 +02:00
|
|
|
install(FILES
|
2007-06-08 07:30:31 +02:00
|
|
|
servicetypes/plasma_animator.desktop
|
|
|
|
servicetypes/plasma_applet.desktop
|
|
|
|
servicetypes/plasma_dataengine.desktop
|
2007-06-08 07:28:22 +02:00
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
2007-05-19 10:38:46 +02:00
|
|
|
|