1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3 PROJECT( FingerManager )
5 SET( FPRINT_ASK_SOURCES
7 ./src/FingerManagerWindow.cpp
11 SET( FPRINT_ASK_HEADERS
12 ./src/FingerManagerWindow.h
16 ADD_DEFINITIONS( -Wall -std=c++98 )
18 FIND_PACKAGE( Qt4 REQUIRED )
19 FIND_PACKAGE( KDE4 REQUIRED )
21 INCLUDE( ${QT_USE_FILE} )
23 INCLUDE_DIRECTORIES( ./ ../ ${QT_INCLUDE_DIR} ${QT_QTDBUS_INCLUDE_DIR}
24 ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
26 QT4_WRAP_CPP( FPRINT_MOC_SOURCES ${FPRINT_ASK_HEADERS} )
28 ADD_EXECUTABLE( FingerManagerApp ${FPRINT_MOC_SOURCES} ${FPRINT_ASK_SOURCES} )
30 TARGET_LINK_LIBRARIES( FingerManagerApp ${QT_LIBRARIES} ${QT_QTDBUS_LIBRARY}