cmake: Autogenerate most of the .qrc resource files
[quassel.git] / src / client / CMakeLists.txt
1 quassel_add_module(Client)
2
3 target_sources(${TARGET} PRIVATE
4     abstractmessageprocessor.cpp
5     backlogrequester.cpp
6     buffermodel.cpp
7     buffersettings.cpp
8     bufferviewoverlay.cpp
9     client.cpp
10     clientaliasmanager.cpp
11     clientauthhandler.cpp
12     clientbacklogmanager.cpp
13     clientbufferviewconfig.cpp
14     clientbufferviewmanager.cpp
15     clientidentity.cpp
16     clientignorelistmanager.cpp
17     clientirclisthelper.cpp
18     clientsettings.cpp
19     clienttransfer.cpp
20     clienttransfermanager.cpp
21     clientuserinputhandler.cpp
22     coreaccount.cpp
23     coreaccountmodel.cpp
24     coreconnection.cpp
25     execwrapper.cpp
26     irclistmodel.cpp
27     messagefilter.cpp
28     messagemodel.cpp
29     networkmodel.cpp
30     selectionmodelsynchronizer.cpp
31     transfermodel.cpp
32     treemodel.cpp
33
34     # needed for automoc
35     abstractui.h
36 )
37
38 target_link_libraries(${TARGET}
39     PUBLIC
40         Qt5::Core
41         Qt5::Gui
42         Qt5::Network
43         Qt5::Widgets  # QAbstractItemView in BufferModel
44         Quassel::Common
45 )
46
47 target_link_if_exists(${TARGET} PUBLIC Quassel::Resource::Data)