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