2007-07-17 23:13:41 +02:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
# this is so <plasma/foo.h> grabs local files before "real" plasma includes
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/../../ ) # amarokconfig.h
|
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-07-17 23:13:41 +02:00
|
|
|
kde4_add_library(amarokplasma SHARED ${plasma_LIB_SRCS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-07-17 23:13:41 +02:00
|
|
|
target_link_libraries(amarokplasma ${KDE4_KIO_LIBS})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
2007-07-17 23:13:41 +02:00
|
|
|
set_target_properties(amarokplasma PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
|
|
|
install(TARGETS amarokplasma DESTINATION ${LIB_INSTALL_DIR})
|
2006-02-28 09:01:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2007-07-17 23:13:41 +02:00
|
|
|
# install(FILES ${plasmagik_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/)
|
|
|
|
#
|
|
|
|
# install(FILES
|
|
|
|
# abstractrunner.h
|
|
|
|
# animator.h
|
|
|
|
# applet.h
|
|
|
|
# corona.h
|
|
|
|
# dataengine.h
|
|
|
|
# dataenginemanager.h
|
|
|
|
# datasource.h
|
|
|
|
# phase.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/Phase
|
|
|
|
# includes/Plasma
|
|
|
|
# includes/AbstractRunner
|
|
|
|
# includes/Theme
|
|
|
|
# includes/DataEngine
|
|
|
|
# includes/DataEngineManager
|
|
|
|
# includes/DataSource
|
|
|
|
# includes/Svg
|
|
|
|
# DESTINATION ${INCLUDE_INSTALL_DIR}/KDE/Plasma)
|
|
|
|
#
|
|
|
|
# install(FILES
|
|
|
|
# servicetypes/plasma_animator.desktop
|
|
|
|
# servicetypes/plasma_applet.desktop
|
|
|
|
# servicetypes/plasma_dataengine.desktop
|
|
|
|
# DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
#
|