Properly flushing buffers after all backlog was received.
[quassel.git] / src / client / CMakeLists.txt
1 # Builds the client module
2
3 # We still have some minor deps to QtUi: QItemSelectionModel
4 # set(QT_DONT_USE_QTGUI 1)
5 set(QT_USE_QTNETWORK 1)
6 set(QT_USE_QTDBUS 1)
7 include(${QT_USE_FILE})
8
9 set(SOURCES
10     abstractmessageprocessor.cpp
11     abstractui.cpp
12     backlogrequester.cpp
13     buffermodel.cpp
14     buffersettings.cpp
15     bufferviewoverlay.cpp
16     client.cpp
17     clientaliasmanager.cpp
18     clientbacklogmanager.cpp
19     clientbufferviewconfig.cpp
20     clientbufferviewmanager.cpp
21     clientidentity.cpp
22     clientirclisthelper.cpp
23     clientsettings.cpp
24     clientsyncer.cpp
25     clientuserinputhandler.cpp
26     execwrapper.cpp
27     irclistmodel.cpp
28     messagefilter.cpp
29     messagemodel.cpp
30     networkmodel.cpp
31     selectionmodelsynchronizer.cpp
32     treemodel.cpp)
33
34 set(MOC_HDRS
35     abstractmessageprocessor.h
36     abstractui.h
37     buffermodel.h
38     bufferviewoverlay.h
39     client.h
40     clientaliasmanager.h
41     clientbacklogmanager.h
42     clientbufferviewconfig.h
43     clientbufferviewmanager.h
44     clientcoreinfo.h
45     clientidentity.h
46     clientirclisthelper.h
47     clientuserinputhandler.h
48     clientsyncer.h
49     execwrapper.h
50     irclistmodel.h
51     messagefilter.h
52     messagemodel.h
53     networkmodel.h
54     selectionmodelsynchronizer.h
55     treemodel.h)
56
57 set(HEADERS
58     backlogsettings.h
59     backlogrequester.h
60     buffersettings.h
61     clientsettings.h)
62
63 qt4_wrap_cpp(MOC ${MOC_HDRS})
64
65 include_directories(${CMAKE_SOURCE_DIR}/src/common)
66
67 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
68 add_dependencies(mod_client mod_common)