Store the type of the current tab completion (user or channel) in the TabCompleter...
[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     backlogrequester.cpp
12     buffermodel.cpp
13     buffersettings.cpp
14     bufferviewoverlay.cpp
15     client.cpp
16     clientaliasmanager.cpp
17     clientbacklogmanager.cpp
18     clientbufferviewconfig.cpp
19     clientbufferviewmanager.cpp
20     clientidentity.cpp
21     clientignorelistmanager.cpp
22     clientirclisthelper.cpp
23     clientsettings.cpp
24     clientuserinputhandler.cpp
25     coreaccount.cpp
26     coreaccountmodel.cpp
27     coreconnection.cpp
28     execwrapper.cpp
29     irclistmodel.cpp
30     messagefilter.cpp
31     messagemodel.cpp
32     networkmodel.cpp
33     selectionmodelsynchronizer.cpp
34     treemodel.cpp)
35
36 set(MOC_HDRS
37     abstractmessageprocessor.h
38     abstractui.h
39     buffermodel.h
40     bufferviewoverlay.h
41     client.h
42     clientaliasmanager.h
43     clientbacklogmanager.h
44     clientbufferviewconfig.h
45     clientbufferviewmanager.h
46     clientcoreinfo.h
47     clientidentity.h
48     clientignorelistmanager.h
49     clientirclisthelper.h
50     clientuserinputhandler.h
51     coreaccountmodel.h
52     coreconnection.h
53     execwrapper.h
54     irclistmodel.h
55     messagefilter.h
56     messagemodel.h
57     networkmodel.h
58     selectionmodelsynchronizer.h
59     treemodel.h)
60
61 set(HEADERS
62     backlogsettings.h
63     backlogrequester.h
64     buffersettings.h
65     clientsettings.h
66     coreaccount.h
67    )
68
69 qt4_wrap_cpp(MOC ${MOC_HDRS})
70
71 include_directories(${CMAKE_SOURCE_DIR}/src/common)
72
73 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
74 add_dependencies(mod_client mod_common)