1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3 PROJECT( FingerManager )
5 SET( FPRINT_ASK_SOURCES
7 ./src/FingerManagerWindow.cpp
9 ./src/FingerManagerDevicesModel.cpp
13 SET( FPRINT_ASK_HEADERS
14 ./src/FingerManagerWindow.h
16 ./src/FingerManagerDevicesModel.h
20 ADD_DEFINITIONS( -Wall -std=c++98 )
22 FIND_PACKAGE( Qt4 REQUIRED )
23 FIND_PACKAGE( KDE4 REQUIRED )
25 INCLUDE( ${QT_USE_FILE} )
27 INCLUDE_DIRECTORIES( ./ ../ ${QT_INCLUDE_DIR} ${QT_QTDBUS_INCLUDE_DIR}
28 ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
30 QT4_WRAP_CPP( FPRINT_MOC_SOURCES ${FPRINT_ASK_HEADERS} )
32 ADD_EXECUTABLE( FingerManagerApp ${FPRINT_MOC_SOURCES} ${FPRINT_ASK_SOURCES} )
34 TARGET_LINK_LIBRARIES( FingerManagerApp ${QT_LIBRARIES} ${QT_QTDBUS_LIBRARY}