2010-10-12 21:51:57 +02:00
|
|
|
project(corebindings)
|
|
|
|
|
|
|
|
set(corebindings_SRCS
|
2013-02-01 17:03:00 +01:00
|
|
|
# declarativeitemcontainer.cpp
|
2010-10-12 21:51:57 +02:00
|
|
|
corebindingsplugin.cpp
|
2013-02-01 17:03:00 +01:00
|
|
|
# dataengineconsumer.cpp
|
|
|
|
# theme.cpp
|
|
|
|
# datamodel.cpp
|
|
|
|
# datasource.cpp
|
|
|
|
# runnermodel.cpp
|
|
|
|
# svgitem.cpp
|
|
|
|
# framesvgitem.cpp
|
|
|
|
# dialog.cpp
|
|
|
|
# tooltip.cpp
|
|
|
|
# dataenginebindings.cpp
|
|
|
|
# iconitem.cpp
|
2010-10-12 21:51:57 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${KDE4_INCLUDES}
|
2012-05-14 17:40:02 +02:00
|
|
|
${KDECLARATIVE_INCLUDE_DIR}
|
2010-10-12 21:51:57 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
qt4_automoc(${corebindings_SRCS})
|
|
|
|
|
|
|
|
|
2012-05-14 17:40:02 +02:00
|
|
|
|
2010-10-12 21:51:57 +02:00
|
|
|
add_library(corebindingsplugin SHARED ${corebindings_SRCS})
|
2013-02-01 17:03:00 +01:00
|
|
|
target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${Qt5Quick_LIBRARIES} ${Qt5Qml_LIBRARIES} ${KDECLARATIVE_LIBRARIES})
|
2010-10-12 21:51:57 +02:00
|
|
|
|
2010-10-18 21:20:08 +02:00
|
|
|
install(TARGETS corebindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core)
|
|
|
|
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core)
|
2012-08-28 18:08:33 +02:00
|
|
|
|
2013-02-01 17:03:00 +01:00
|
|
|
#add_subdirectory(tests)
|