Introduce AbstractMessageProcessor and its specialization QtUiMessageProcessor.
[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     buffer.cpp
12     buffermodel.cpp
13     buffersettings.cpp
14     client.cpp
15     clientbacklogmanager.cpp
16     clientirclisthelper.cpp
17     clientsettings.cpp
18     clientsyncer.cpp
19     irclistmodel.cpp
20     messagefilter.cpp
21     messagemodel.cpp
22     mappedselectionmodel.cpp
23     networkmodel.cpp
24     selectionmodelsynchronizer.cpp
25     treemodel.cpp)
26
27 set(MOC_HDRS
28     abstractmessageprocessor.h
29     buffer.h
30     buffermodel.h
31     client.h
32     clientbacklogmanager.h
33     clientcoreinfo.h
34     clientirclisthelper.h
35     clientsyncer.h
36     irclistmodel.h
37     messagefilter.h
38     messagemodel.h
39     networkmodel.h
40     mappedselectionmodel.h
41     quasselui.h
42     selectionmodelsynchronizer.h
43     treemodel.h)
44
45 set(HEADERS
46     buffersettings.h
47     clientsettings.h)
48
49 qt4_wrap_cpp(MOC ${MOC_HDRS})
50
51 include_directories(${CMAKE_SOURCE_DIR}/src/common)
52
53 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
54 add_dependencies(mod_client mod_common)