1 # Builds the client module
3 # In Qt4, we still have some minor deps to QtUi: QItemSelectionModel, QSortFilterProxyModel
4 # Still in Qt5: QAbstractItemView in BufferModel
9 list(APPEND _modules Widgets)
13 list(APPEND _modules DBus)
16 setup_qt_variables(Gui Network ${_modules})
19 abstractmessageprocessor.cpp
26 clientaliasmanager.cpp
28 clientbacklogmanager.cpp
29 clientbufferviewconfig.cpp
30 clientbufferviewmanager.cpp
33 clientignorelistmanager.cpp
34 clientirclisthelper.cpp
36 clientuserinputhandler.cpp
45 selectionmodelsynchronizer.cpp
49 abstractmessageprocessor.h
56 clientbacklogmanager.h
57 clientbufferviewconfig.h
58 clientbufferviewmanager.h
61 clientignorelistmanager.h
63 clientuserinputhandler.h
71 selectionmodelsynchronizer.h
82 include_directories(${CMAKE_SOURCE_DIR}/src/common ${QUASSEL_QT_INCLUDES})
85 qt4_wrap_cpp(MOC ${MOC_HDRS})
88 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
89 add_dependencies(mod_client mod_common)
91 set_target_properties(mod_client PROPERTIES COMPILE_FLAGS "${QUASSEL_QT_COMPILEFLAGS}")