project(settings)

set(settings_SRCS
    settingsplugin.cpp
    settingsmodule.cpp
    settingsmodulesmodel.cpp
    settingscomponent.cpp
    configgroup.cpp
    )

qt4_automoc(${settings_SRCS})

kde4_add_library(settingsplugin SHARED ${settings_SRCS})
target_link_libraries(settingsplugin
        ${QT_QTCORE_LIBRARY}
        ${QT_QTDECLARATIVE_LIBRARY}
        ${KDE4_PLASMA_LIBS}
        )

install(TARGETS settingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/active/settings)
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/active/settings)
install(FILES SettingsItem.qml DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/active/settings)

