this should fix crashes in the nick/bufer view delegates when receiving an invalid...
[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     client.cpp
15     clientbacklogmanager.cpp
16     clientidentity.cpp
17     clientirclisthelper.cpp
18     clientsettings.cpp
19     clientsyncer.cpp
20     irclistmodel.cpp
21     messagefilter.cpp
22     messagemodel.cpp
23     networkmodel.cpp
24     quasselui.cpp
25     selectionmodelsynchronizer.cpp
26     treemodel.cpp)
27
28 set(MOC_HDRS
29     abstractmessageprocessor.h
30     buffermodel.h
31     client.h
32     clientbacklogmanager.h
33     clientcoreinfo.h
34     clientidentity.h
35     clientirclisthelper.h
36     clientsyncer.h
37     irclistmodel.h
38     messagefilter.h
39     messagemodel.h
40     networkmodel.h
41     quasselui.h
42     selectionmodelsynchronizer.h
43     treemodel.h)
44
45 set(HEADERS
46     backlogsettings.h
47     backlogrequester.h
48     buffersettings.h
49     clientsettings.h)
50
51 qt4_wrap_cpp(MOC ${MOC_HDRS})
52
53 include_directories(${CMAKE_SOURCE_DIR}/src/common)
54
55 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
56 add_dependencies(mod_client mod_common)