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( ${KDE4_ENABLE_EXCEPTIONS} -Wno-return-type )
11 ${KDEVPLATFORM_INCLUDE_DIR}/sublime
14 link_directories( ${QT_LIBRARY_DIR} )
16 AWIC( guitool.aidl awful::gui::tool )
17 QT_WRAP_CPP( awguitool MOC_FILES Button.h )
19 awBuildLibrary( gui/tool
28 module_awful-gui-tool.h
32 target_link_libraries( awguitool
35 ${QT_QTOPENGL_LIBRARY}
37 ${KDEVPLATFORM_SUBLIME_LIBRARY}