Introduce (very) basic, incomplete version of CoreConnection
[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     coreaccount.cpp
28     coreaccountmodel.cpp
29     coreconnection.cpp
30     execwrapper.cpp
31     irclistmodel.cpp
32     messagefilter.cpp
33     messagemodel.cpp
34     networkmodel.cpp
35     selectionmodelsynchronizer.cpp
36     treemodel.cpp)
37
38 set(MOC_HDRS
39     abstractmessageprocessor.h
40     abstractui.h
41     buffermodel.h
42     bufferviewoverlay.h
43     client.h
44     clientaliasmanager.h
45     clientbacklogmanager.h
46     clientbufferviewconfig.h
47     clientbufferviewmanager.h
48     clientcoreinfo.h
49     clientidentity.h
50     clientignorelistmanager.h
51     clientirclisthelper.h
52     clientuserinputhandler.h
53     clientsyncer.h
54     coreaccountmodel.h
55     coreconnection.h
56     execwrapper.h
57     irclistmodel.h
58     messagefilter.h
59     messagemodel.h
60     networkmodel.h
61     selectionmodelsynchronizer.h
62     treemodel.h)
63
64 set(HEADERS
65     backlogsettings.h
66     backlogrequester.h
67     buffersettings.h
68     clientsettings.h
69     coreaccount.h
70    )
71
72 qt4_wrap_cpp(MOC ${MOC_HDRS})
73
74 include_directories(${CMAKE_SOURCE_DIR}/src/common)
75
76 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
77 add_dependencies(mod_client mod_common)