project(kpldbustest)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES} ${QT_INCLUDES})

set(kpldbustest_SRCS
   demo1.cpp
 )

set(CMAKE_BUILD_TYPE "debugfull")

qt4_add_dbus_interface(kpldbustest_SRCS /usr/share/dbus-1/interfaces/org.kde.Kpl.xml kpl_interface)

kde4_add_executable(kpldbustest ${kpldbustest_SRCS})

target_link_libraries(kpldbustest ${KDE4_KDEUI_LIBS})

install(TARGETS kpldbustest DESTINATION ${BIN_INSTALL_DIR})
