X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=7bdf1c55eb21461d8838be553a00155fa1d369e4;hb=4f2d0000935e5f040940aca85a44b905bd916147;hp=9c273e645dd7cbb981b52c2888d3d0027395fafd;hpb=ff81aaec156b8dc2e12f49286fd69e55f215af29;p=quassel.git diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 9c273e64..7bdf1c55 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -17,6 +17,7 @@ set(SOURCES eventmanager.cpp identity.cpp ignorelistmanager.cpp + internalconnection.cpp ircchannel.cpp ircevent.cpp irclisthelper.cpp @@ -28,10 +29,14 @@ set(SOURCES networkconfig.cpp networkevent.cpp quassel.cpp + remoteconnection.cpp settings.cpp signalproxy.cpp syncableobject.cpp - util.cpp) + util.cpp + + protocols/legacy/legacyconnection.cpp +) set(MOC_HDRS aliasmanager.h @@ -44,14 +49,19 @@ set(MOC_HDRS eventmanager.h identity.h ignorelistmanager.h + internalconnection.h ircchannel.h irclisthelper.h ircuser.h network.h networkconfig.h + remoteconnection.h settings.h signalproxy.h - syncableobject.h) + syncableobject.h + + protocols/legacy/legacyconnection.h +) set(HEADERS ${MOC_HDRS} abstractcliparser.h @@ -60,13 +70,18 @@ set(HEADERS ${MOC_HDRS} ctcpevent.h event.h ircevent.h - networkevent.h messageevent.h + networkevent.h logger.h message.h types.h util.h) +if (HAVE_QCA2) + set(SOURCES ${SOURCES} keyevent.cpp) + set(HEADERS ${HEADERS} keyevent.h) +endif(HAVE_QCA2) + if(APPLE) set(SOURCES ${SOURCES} mac_utils.cpp) set(HEADERS ${HEADERS} mac_utils.h) @@ -87,7 +102,7 @@ endif(NOT WITH_QT5) set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES version.gen) -add_library(mod_common STATIC ${SOURCES} ${MOC}) +add_library(mod_common STATIC ${SOURCES} ${HEADERS} ${MOC}) set_target_properties(mod_common PROPERTIES COMPILE_FLAGS "${QUASSEL_QT_COMPILEFLAGS}") if(APPLE)