2011-09-13 21:21:29 +02:00
|
|
|
project(plasmacomponents)
|
|
|
|
|
|
|
|
set(plasmacomponents_SRCS
|
|
|
|
plasmacomponentsplugin.cpp
|
|
|
|
qrangemodel.cpp
|
2011-10-27 22:33:51 +02:00
|
|
|
enums.cpp
|
2011-10-28 18:57:34 +02:00
|
|
|
qmenu.cpp
|
|
|
|
qmenuitem.cpp
|
2011-11-03 18:23:26 +01:00
|
|
|
kdialogproxy.cpp
|
2011-09-13 21:21:29 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${KDE4_INCLUDES}
|
|
|
|
)
|
|
|
|
|
|
|
|
qt4_automoc(${plasmacomponents_SRCS})
|
|
|
|
|
|
|
|
|
|
|
|
add_library(plasmacomponentsplugin SHARED ${plasmacomponents_SRCS})
|
2011-11-03 18:23:26 +01:00
|
|
|
target_link_libraries(plasmacomponentsplugin ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KDEUI_LIBRARY})
|
2011-09-13 21:21:29 +02:00
|
|
|
|
|
|
|
install(TARGETS plasmacomponentsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/components)
|
|
|
|
|
|
|
|
install(DIRECTORY qml/ DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/components)
|
2011-11-07 18:06:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-07 18:46:21 +01:00
|
|
|
#The platform specific stuff, overwrites a copy of the desktop one
|
2011-11-07 18:06:18 +01:00
|
|
|
|
2011-11-07 18:46:21 +01:00
|
|
|
install(TARGETS plasmacomponentsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components)
|
2011-11-07 18:06:18 +01:00
|
|
|
install(DIRECTORY qml/ DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components)
|
|
|
|
install(DIRECTORY platformcomponents/touch/ DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components)
|