cmake: Remove build system support for Qt4/KDE4
[quassel.git] / src / client / CMakeLists.txt
1 # Builds the client module
2
3 # We still have a minor dep to QtWidgets: QAbstractItemView in BufferModel
4
5 set(SOURCES
6     abstractmessageprocessor.cpp
7     backlogrequester.cpp
8     buffermodel.cpp
9     buffersettings.cpp
10     bufferviewoverlay.cpp
11     client.cpp
12     clientaliasmanager.cpp
13     clientauthhandler.cpp
14     clientbacklogmanager.cpp
15     clientbufferviewconfig.cpp
16     clientbufferviewmanager.cpp
17     clientidentity.cpp
18     clientignorelistmanager.cpp
19     clientirclisthelper.cpp
20     clientsettings.cpp
21     clienttransfer.cpp
22     clienttransfermanager.cpp
23     clientuserinputhandler.cpp
24     coreaccount.cpp
25     coreaccountmodel.cpp
26     coreconnection.cpp
27     execwrapper.cpp
28     irclistmodel.cpp
29     messagefilter.cpp
30     messagemodel.cpp
31     networkmodel.cpp
32     selectionmodelsynchronizer.cpp
33     transfermodel.cpp
34     treemodel.cpp
35
36     # needed for automoc
37     abstractui.h
38 )
39
40 qt5_add_resources(SOURCES ${CLIENT_RCS})
41
42 add_library(mod_client STATIC ${SOURCES})
43 qt5_use_modules(mod_client Network Core Gui Widgets)
44
45 target_link_libraries(mod_client mod_common)