Introduce GraphicalUi (between QtUi and AbstractUi), rename NetworkModelActionProvider
[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     client.cpp
16     clientbacklogmanager.cpp
17     clientidentity.cpp
18     clientirclisthelper.cpp
19     clientsettings.cpp
20     clientsyncer.cpp
21     irclistmodel.cpp
22     messagefilter.cpp
23     messagemodel.cpp
24     networkmodel.cpp
25     selectionmodelsynchronizer.cpp
26     treemodel.cpp)
27
28 set(MOC_HDRS
29     abstractmessageprocessor.h
30     abstractui.h
31     buffermodel.h
32     client.h
33     clientbacklogmanager.h
34     clientcoreinfo.h
35     clientidentity.h
36     clientirclisthelper.h
37     clientsyncer.h
38     irclistmodel.h
39     messagefilter.h
40     messagemodel.h
41     networkmodel.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)