1 # Builds the client module
3 # We still have some minor deps to QtUi: QItemSelectionModel
4 # set(QT_DONT_USE_QTGUI 1)
5 set(QT_USE_QTNETWORK 1)
7 include(${QT_USE_FILE})
14 clientbacklogmanager.cpp
15 clientirclisthelper.cpp
19 mappedselectionmodel.cpp
21 selectionmodelsynchronizer.cpp
28 clientbacklogmanager.h
34 mappedselectionmodel.h
36 selectionmodelsynchronizer.h
44 set(SOURCES ${SOURCES} messagefilter.cpp messagemodel.cpp)
45 set(MOC_HDRS ${MOC_HDRS} messagefilter.h messagemodel.h)
48 qt4_wrap_cpp(MOC ${MOC_HDRS})
50 include_directories(${CMAKE_SOURCE_DIR}/src/common)
52 add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
53 add_dependencies(mod_client mod_common)