Finalizing changes to the identities interface -> breaking protocol
[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     mappedselectionmodel.cpp
24     networkmodel.cpp
25     quasselui.cpp
26     selectionmodelsynchronizer.cpp
27     treemodel.cpp)
28
29 set(MOC_HDRS
30     abstractmessageprocessor.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     mappedselectionmodel.h
43     quasselui.h
44     selectionmodelsynchronizer.h
45     treemodel.h)
46
47 set(HEADERS
48     backlogsettings.h
49     backlogrequester.h
50     buffersettings.h
51     clientsettings.h)
52
53 qt4_wrap_cpp(MOC ${MOC_HDRS})
54
55 include_directories(${CMAKE_SOURCE_DIR}/src/common)
56
57 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
58 add_dependencies(mod_client mod_common)