gui.tool: added MainWindow, made Application a singleton. LuaApplication: at least...
[fail.git] / src / gui / tool / CMakeLists.txt
blob7747adb1b41d7422501e669bb5c9840692c81553
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 )
8 include_directories(
9         ${QT_INCLUDES}
10         ${KDE4_INCLUDES}
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
20         Factory.cpp
21         Widget.cpp
22         SimpleContainer.cpp
23         HGroup.cpp
24         VGroup.cpp
25         Button.cpp
26         Application.cpp
27         MainWindow.cpp
28         module_awful-gui-tool.h
29         ${MOC_FILES}
32 target_link_libraries( awguitool
33         ${QT_QTCORE_LIBRARY}
34         ${QT_QTGUI_LIBRARY}
35         ${QT_QTOPENGL_LIBRARY}
36         ${KDE4_KDEUI_LIBS}
37         ${KDEVPLATFORM_SUBLIME_LIBRARY}