2011-02-10 18:41:47 +01:00
|
|
|
project(qtextracomponents)
|
|
|
|
|
|
|
|
include(KDE4Defaults)
|
|
|
|
|
|
|
|
set(qtextracomponents_SRCS
|
|
|
|
qtextracomponentsplugin.cpp
|
|
|
|
qpixmapitem.cpp
|
|
|
|
qimageitem.cpp
|
|
|
|
qiconitem.cpp
|
2011-08-02 16:13:48 +02:00
|
|
|
qmenu.cpp
|
2011-08-17 19:51:04 +02:00
|
|
|
qmenuaction.cpp
|
2011-02-10 18:41:47 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${KDE4_INCLUDES}
|
|
|
|
)
|
|
|
|
|
|
|
|
qt4_automoc(${qtextracomponents_SRCS})
|
|
|
|
|
|
|
|
|
|
|
|
add_library(qtextracomponentsplugin SHARED ${qtextracomponents_SRCS})
|
|
|
|
target_link_libraries(qtextracomponentsplugin ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
|
|
|
|
|
|
|
|
install(TARGETS qtextracomponentsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)
|
|
|
|
|
|
|
|
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)
|