X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=fe99f34df414589f1665de7d5bca964923459a44;hp=1713760731f8552af16933b40a35fa64c70896fc;hb=283fdb2c49e5efa1d497d8c3e6f624f86d008ff8;hpb=029c6d402af7b00b320dd5ce48f230783a88957a diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 17137607..fe99f34d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -8,53 +8,69 @@ include(${QT_USE_FILE}) set(SOURCES abstractsqlstorage.cpp - basichandler.cpp core.cpp corealiasmanager.cpp coreapplication.cpp corebacklogmanager.cpp + corebasichandler.cpp corebuffersyncer.cpp corebufferviewconfig.cpp corebufferviewmanager.cpp corecoreinfo.cpp coreidentity.cpp + coreignorelistmanager.cpp coreircchannel.cpp coreirclisthelper.cpp + coreircuser.cpp corenetwork.cpp + corenetworkconfig.cpp coresession.cpp + coresessioneventprocessor.cpp coresettings.cpp + coreuserinputhandler.cpp coreusersettings.cpp ctcphandler.cpp + ctcpparser.cpp + eventstringifier.cpp + ircparser.cpp ircserverhandler.cpp + netsplit.cpp postgresqlstorage.cpp sessionthread.cpp sqlitestorage.cpp - storage.cpp - userinputhandler.cpp) + storage.cpp) set(MOC_HDRS abstractsqlstorage.h - basichandler.h core.h corealiasmanager.h coreapplication.h corebacklogmanager.h + corebasichandler.h corebuffersyncer.h corebufferviewconfig.h corebufferviewmanager.h corecoreinfo.h coreidentity.h + coreignorelistmanager.h coreircchannel.h coreirclisthelper.h + coreircuser.h corenetwork.h + corenetworkconfig.h coresession.h + coresessioneventprocessor.h + coreuserinputhandler.h ctcphandler.h + ctcpparser.h + eventstringifier.h + ircparser.h ircserverhandler.h + netsplit.h postgresqlstorage.h sqlitestorage.h storage.h - sessionthread.h - userinputhandler.h) + sessionthread.h) set(HEADERS coresettings.h @@ -66,6 +82,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) @@ -73,3 +95,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)