2011-09-13 21:21:29 +02:00
project ( plasmacomponents )
set ( plasmacomponents_SRCS
2012-01-09 10:51:42 +01:00
f u l l s c r e e n d i a l o g . c p p
2012-02-28 12:11:22 +01:00
f u l l s c r e e n s h e e t . c p p
2012-02-28 14:49:20 +01:00
f u l l s c r e e n w i n d o w . c p p
2011-09-13 21:21:29 +02:00
p l a s m a c o m p o n e n t s p l u g i n . c p p
q r a n g e m o d e l . c p p
2011-10-27 22:33:51 +02:00
e n u m s . c p p
2011-10-28 18:57:34 +02:00
q m e n u . c p p
q m e n u i t e m . c p p
2011-11-03 18:23:26 +01:00
k d i a l o g p r o x y . c p p
2012-01-09 10:51:42 +01:00
. . / c o r e / d e c l a r a t i v e i t e m c o n t a i n e r . c p p
2011-09-13 21:21:29 +02:00
)
INCLUDE_DIRECTORIES (
$ { C M A K E _ S O U R C E _ D I R }
$ { C M A K E _ B I N A R Y _ D I R }
$ { K D E 4 _ I N C L U D E S }
)
qt4_automoc ( ${ plasmacomponents_SRCS } )
add_library ( plasmacomponentsplugin SHARED ${ plasmacomponents_SRCS } )
2012-01-09 10:51:42 +01:00
target_link_libraries ( plasmacomponentsplugin ${ QT_QTCORE_LIBRARY } ${ QT_QTDECLARATIVE_LIBRARY } ${ QT_QTGUI_LIBRARY } ${ KDE4_KDEUI_LIBRARY } ${ KDE4_PLASMA_LIBS } )
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-17 16:04:36 +01:00
#it does install some files on top of the old ones, has to be done file by file since if some component from the generic set is more recent than the specifc ones, it wouldn't be overwritten
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-17 16:04:36 +01:00
install ( FILES qml/BusyIndicator.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ButtonColumn.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ButtonGroup.js DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Button.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ButtonRow.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/CheckBox.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/CommonDialog.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Highlight.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Label.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ListItem.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Page.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/PageStack.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ProgressBar.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/RadioButton.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/SelectionDialog.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Slider.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/Switch.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/TabBar.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/TabButton.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
2011-11-20 21:22:38 +01:00
install ( FILES qml/TabGroup.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
2011-12-01 03:49:28 +01:00
#install(FILES qml/TextArea.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components)
2011-11-23 03:21:28 +01:00
#install(FILES qml/TextField.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components)
2011-11-17 16:04:36 +01:00
install ( FILES qml/ToolBarLayout.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
install ( FILES qml/ToolBar.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
2012-10-14 20:04:54 +02:00
install ( FILES qml/ToolButton.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )
2011-11-17 16:04:36 +01:00
2011-12-22 14:16:01 +01:00
#Now install the private stuff!
install ( FILES qml/private/DualStateButton.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/IconLoader.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/PageStack.js DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/TabGroup.js DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/ScrollBarDelegate.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/ScrollDecoratorDelegate.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/SectionScroller.js DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/AppManager.js DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
install ( FILES qml/private/TabBarLayout.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
2011-12-22 16:34:09 +01:00
install ( FILES qml/private/TextFieldFocus.qml DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components/private )
2011-12-22 14:16:01 +01:00
2011-11-17 16:04:36 +01:00
#install platform overrides
2011-11-07 18:06:18 +01:00
install ( DIRECTORY platformcomponents/touch/ DESTINATION ${ PLUGIN_INSTALL_DIR } /platformimports/touch/org/kde/plasma/components )