1 find_package( KDE4 REQUIRED )
2 find_package( KDevPlatform REQUIRED )
4 # Sigh... Why do people define functions that returns things like "const char"?
5 # Now I have to disable a warning that pops all over the place in Qt headers.
6 add_definitions( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -Wno-return-type )
7 link_directories( ${QT_LIBRARY_DIR} )
12 ${KDEVPLATFORM_INCLUDE_DIR}
13 ${KDEVPLATFORM_INCLUDE_DIR}/sublime
14 ${KDEVPLATFORM_INCLUDE_DIR}/shell
15 ${KDEVPLATFORM_INCLUDE_DIR}/interfaces
17 ${PROJECT_SOURCE_DIR}/gamebindings
18 ${PROJECT_SOURCE_DIR}/gamestorage
19 ${PROJECT_SOURCE_DIR}/toolbindings
23 add_executable( painful
25 painfulshellextension.cpp
28 target_link_libraries( painful
31 ${KDEVPLATFORM_SHELL_LIBRARY}
34 install( TARGETS painful DESTINATION bin )
35 install( FILES painfului.rc DESTINATION share/apps/painful )