2010-10-12 21:51:57 +02:00
|
|
|
project(corebindings)
|
|
|
|
|
|
|
|
set(corebindings_SRCS
|
2011-04-28 00:27:52 +02:00
|
|
|
declarativeitemcontainer.cpp
|
2010-10-12 21:51:57 +02:00
|
|
|
corebindingsplugin.cpp
|
|
|
|
dataengineconsumer.cpp
|
|
|
|
theme.cpp
|
2010-10-26 14:01:59 +02:00
|
|
|
datamodel.cpp
|
2010-10-12 21:51:57 +02:00
|
|
|
datasource.cpp
|
|
|
|
svgitem.cpp
|
|
|
|
framesvgitem.cpp
|
2011-02-24 18:24:45 +01:00
|
|
|
dialog.cpp
|
2011-04-28 00:44:50 +02:00
|
|
|
tooltip.cpp
|
2011-11-01 19:18:41 +01:00
|
|
|
dataenginebindings.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})
|
2012-05-14 17:40:02 +02:00
|
|
|
target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${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
|
|
|
|
|
|
|
add_subdirectory(tests)
|