Basic implementation of indicators.
[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     bufferviewoverlay.cpp
16     client.cpp
17     clientaliasmanager.cpp
18     clientbacklogmanager.cpp
19     clientbufferviewconfig.cpp
20     clientbufferviewmanager.cpp
21     clientidentity.cpp
22     clientignorelistmanager.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     buffermodel.h
39     bufferviewoverlay.h
40     client.h
41     clientaliasmanager.h
42     clientbacklogmanager.h
43     clientbufferviewconfig.h
44     clientbufferviewmanager.h
45     clientcoreinfo.h
46     clientidentity.h
47     clientignorelistmanager.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)