X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=b66942478716bcddac1b67678b9c75977d9a2536;hp=3b7e24e6501a40ff90238202b78e8c868f5f8562;hb=0a79f71c41f69643fdbf0c32c061f1b11d14346d;hpb=513c0edce6f4c69f16e6a00c144877e8d5940096 diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 3b7e24e6..b6694247 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -21,15 +21,19 @@ set(SOURCES coreignorelistmanager.cpp coreircchannel.cpp coreirclisthelper.cpp + coreircuser.cpp corenetwork.cpp corenetworkconfig.cpp coresession.cpp + coresessioneventprocessor.cpp coresettings.cpp coreuserinputhandler.cpp coreusersettings.cpp - ctcphandler.cpp - ircserverhandler.cpp + ctcpparser.cpp + eventstringifier.cpp + ircparser.cpp netsplit.cpp + oidentdconfiggenerator.cpp postgresqlstorage.cpp sessionthread.cpp sqlitestorage.cpp @@ -50,13 +54,17 @@ set(MOC_HDRS coreignorelistmanager.h coreircchannel.h coreirclisthelper.h + coreircuser.h corenetwork.h corenetworkconfig.h coresession.h + coresessioneventprocessor.h coreuserinputhandler.h - ctcphandler.h - ircserverhandler.h + ctcpparser.h + eventstringifier.h + ircparser.h netsplit.h + oidentdconfiggenerator.h postgresqlstorage.h sqlitestorage.h storage.h @@ -72,6 +80,12 @@ if(HAVE_SSL) include_directories(${OPENSSL_INCLUDE_DIR}) endif(HAVE_SSL) +if(HAVE_QCA2) + set(SOURCES ${SOURCES} cipher.cpp) + set(HEADERS ${HEADERS} cipher.h) + include_directories(${QCA2_INCLUDE_DIR}) +endif(HAVE_QCA2) + qt4_wrap_cpp(MOC ${MOC_HDRS}) set(CORE_RCS ${CORE_RCS} core/sql.qrc PARENT_SCOPE) @@ -79,3 +93,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/common) add_library(mod_core STATIC ${SOURCES} ${MOC} ${HEADERS}) add_dependencies(mod_core mod_common) + +if(HAVE_QCA2) + target_link_libraries(mod_core ${QCA2_LIBRARIES}) +endif(HAVE_QCA2)