2010-09-05 01:23:35 +02:00
|
|
|
|
|
|
|
set(plasma_kpartscripting_SRCS
|
|
|
|
scripting/layouttemplatepackagestructure.cpp
|
|
|
|
scripting/rect.cpp
|
|
|
|
scripting/scriptengine.cpp
|
|
|
|
scripting/widget.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(plasma_kpart_SRCS
|
|
|
|
${plasma_kpartscripting_SRCS}
|
|
|
|
plasmakpartcorona.cpp
|
|
|
|
plasmakpartview.cpp
|
|
|
|
plasmakpart.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma-kpart ${plasma_kpart_SRCS})
|
|
|
|
|
2010-10-27 12:14:53 +02:00
|
|
|
target_link_libraries(plasma-kpart ${QT_QTSCRIPT_LIBRARY} ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} ${KDE4_KPARTS_LIBS} )
|
2010-09-05 01:23:35 +02:00
|
|
|
|
|
|
|
install(TARGETS plasma-kpart DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-kpart.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|