new internal hot buffers list
[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     bufferhotlistfilter.cpp
14     buffermodel.cpp
15     buffersettings.cpp
16     bufferviewoverlay.cpp
17     client.cpp
18     clientaliasmanager.cpp
19     clientbacklogmanager.cpp
20     clientbufferviewconfig.cpp
21     clientbufferviewmanager.cpp
22     clientidentity.cpp
23     clientirclisthelper.cpp
24     clientsettings.cpp
25     clientsyncer.cpp
26     clientuserinputhandler.cpp
27     execwrapper.cpp
28     irclistmodel.cpp
29     messagefilter.cpp
30     messagemodel.cpp
31     networkmodel.cpp
32     selectionmodelsynchronizer.cpp
33     treemodel.cpp)
34
35 set(MOC_HDRS
36     abstractmessageprocessor.h
37     abstractui.h
38     bufferhotlistfilter.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     clientirclisthelper.h
49     clientuserinputhandler.h
50     clientsyncer.h
51     execwrapper.h
52     irclistmodel.h
53     messagefilter.h
54     messagemodel.h
55     networkmodel.h
56     selectionmodelsynchronizer.h
57     treemodel.h)
58
59 set(HEADERS
60     backlogsettings.h
61     backlogrequester.h
62     buffersettings.h
63     clientsettings.h)
64
65 qt4_wrap_cpp(MOC ${MOC_HDRS})
66
67 include_directories(${CMAKE_SOURCE_DIR}/src/common)
68
69 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
70 add_dependencies(mod_client mod_common)