CMAKE_MINIMUM_REQUIRED (VERSION 2.6)

FIND_PACKAGE (Qt4 REQUIRED)

SET (kephalapp_SRCS kephalapp.cpp)
QT4_WRAP_CPP (kephalapp_SRCS kephalapp.h)

ADD_EXECUTABLE (kephalapp ${kephalapp_SRCS})

INCLUDE_DIRECTORIES (. .. ${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
TARGET_LINK_LIBRARIES (kephalapp ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} kephal)

INSTALL (TARGETS kephalapp RUNTIME DESTINATION bin)