modernize: Remove old-style slot usage in NetworkModelController
[quassel.git] / src / client / CMakeLists.txt
1 quassel_add_module(Client EXPORT)
2
3 target_sources(${TARGET} PRIVATE
4     abstractmessageprocessor.cpp
5     backlogrequester.cpp
6     backlogsettings.cpp
7     buffermodel.cpp
8     buffersettings.cpp
9     bufferviewoverlay.cpp
10     client.cpp
11     clientaliasmanager.cpp
12     clientauthhandler.cpp
13     clientbacklogmanager.cpp
14     clientbufferviewconfig.cpp
15     clientbufferviewmanager.cpp
16     clientidentity.cpp
17     clientignorelistmanager.cpp
18     clientirclisthelper.cpp
19     clientsettings.cpp
20     clienttransfer.cpp
21     clienttransfermanager.cpp
22     clientuserinputhandler.cpp
23     coreaccount.cpp
24     coreaccountmodel.cpp
25     coreconnection.cpp
26     execwrapper.cpp
27     irclistmodel.cpp
28     messagefilter.cpp
29     messagemodel.cpp
30     networkmodel.cpp
31     selectionmodelsynchronizer.cpp
32     transfermodel.cpp
33     treemodel.cpp
34
35     # needed for automoc
36     abstractui.h
37 )
38
39 target_link_libraries(${TARGET}
40     PUBLIC
41         Qt5::Core
42         Qt5::Gui
43         Qt5::Network
44         Qt5::Widgets  # QAbstractItemView in BufferModel
45         Quassel::Common
46 )
47
48 if (EMBED_DATA)
49     set_property(SOURCE client.cpp APPEND PROPERTY COMPILE_DEFINITIONS EMBED_DATA)
50 endif()
51
52 target_link_if_exists(${TARGET} PUBLIC Quassel::Resource::Data)