plasma-framework/declarativeimports/core/CMakeLists.txt
Sebastian Kügler 1667ad7619 Minimally building core plugin
All classes are disabled currently, and the plugin macros as well.
2013-02-01 17:03:00 +01:00

37 lines
932 B
CMake

project(corebindings)
set(corebindings_SRCS
# declarativeitemcontainer.cpp
corebindingsplugin.cpp
# dataengineconsumer.cpp
# theme.cpp
# datamodel.cpp
# datasource.cpp
# runnermodel.cpp
# svgitem.cpp
# framesvgitem.cpp
# dialog.cpp
# tooltip.cpp
# dataenginebindings.cpp
# iconitem.cpp
)
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
${KDECLARATIVE_INCLUDE_DIR}
)
qt4_automoc(${corebindings_SRCS})
add_library(corebindingsplugin SHARED ${corebindings_SRCS})
target_link_libraries(corebindingsplugin ${KDE4_PLASMA_LIBS} ${QT_QTSCRIPT_LIBRARY} ${Qt5Quick_LIBRARIES} ${Qt5Qml_LIBRARIES} ${KDECLARATIVE_LIBRARIES})
install(TARGETS corebindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core)
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/core)
#add_subdirectory(tests)