2011-02-10 18:41:47 +01:00
|
|
|
project(qtextracomponents)
|
|
|
|
|
|
|
|
include(KDE4Defaults)
|
|
|
|
|
2012-09-04 01:18:55 +02:00
|
|
|
add_subdirectory(tests)
|
|
|
|
|
2011-02-10 18:41:47 +01:00
|
|
|
set(qtextracomponents_SRCS
|
|
|
|
qtextracomponentsplugin.cpp
|
|
|
|
qpixmapitem.cpp
|
|
|
|
qimageitem.cpp
|
|
|
|
qiconitem.cpp
|
2011-11-25 00:49:53 +01:00
|
|
|
mouseeventlistener.cpp
|
2012-09-04 01:18:55 +02:00
|
|
|
columnproxymodel.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})
|
2011-11-02 21:28:30 +01:00
|
|
|
target_link_libraries(qtextracomponentsplugin ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY})
|
2011-02-10 18:41:47 +01:00
|
|
|
|
|
|
|
install(TARGETS qtextracomponentsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)
|
|
|
|
|
|
|
|
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/qtextracomponents)
|