projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add IrcParser to handle data between the ircd and Quassel
[quassel.git]
/
src
/
core
/
CMakeLists.txt
diff --git
a/src/core/CMakeLists.txt
b/src/core/CMakeLists.txt
index
e786dab
..
f1f7e50
100644
(file)
--- a/
src/core/CMakeLists.txt
+++ b/
src/core/CMakeLists.txt
@@
-6,10
+6,6
@@
set(QT_USE_QTSQL 1)
set(QT_USE_QTSCRIPT 1)
include(${QT_USE_FILE})
set(QT_USE_QTSCRIPT 1)
include(${QT_USE_FILE})
-if (QCA2_FOUND)
- include_directories(${QCA2_INCLUDE_DIR})
-endif (QCA2_FOUND)
-
set(SOURCES
abstractsqlstorage.cpp
core.cpp
set(SOURCES
abstractsqlstorage.cpp
core.cpp
@@
-25,13
+21,16
@@
set(SOURCES
coreignorelistmanager.cpp
coreircchannel.cpp
coreirclisthelper.cpp
coreignorelistmanager.cpp
coreircchannel.cpp
coreirclisthelper.cpp
+ coreircuser.cpp
corenetwork.cpp
corenetworkconfig.cpp
coresession.cpp
corenetwork.cpp
corenetworkconfig.cpp
coresession.cpp
+ coresessioneventprocessor.cpp
coresettings.cpp
coreuserinputhandler.cpp
coreusersettings.cpp
ctcphandler.cpp
coresettings.cpp
coreuserinputhandler.cpp
coreusersettings.cpp
ctcphandler.cpp
+ ircparser.cpp
ircserverhandler.cpp
netsplit.cpp
postgresqlstorage.cpp
ircserverhandler.cpp
netsplit.cpp
postgresqlstorage.cpp
@@
-54,11
+53,14
@@
set(MOC_HDRS
coreignorelistmanager.h
coreircchannel.h
coreirclisthelper.h
coreignorelistmanager.h
coreircchannel.h
coreirclisthelper.h
+ coreircuser.h
corenetwork.h
corenetworkconfig.h
coresession.h
corenetwork.h
corenetworkconfig.h
coresession.h
+ coresessioneventprocessor.h
coreuserinputhandler.h
ctcphandler.h
coreuserinputhandler.h
ctcphandler.h
+ ircparser.h
ircserverhandler.h
netsplit.h
postgresqlstorage.h
ircserverhandler.h
netsplit.h
postgresqlstorage.h
@@
-76,6
+78,12
@@
if(HAVE_SSL)
include_directories(${OPENSSL_INCLUDE_DIR})
endif(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)
qt4_wrap_cpp(MOC ${MOC_HDRS})
set(CORE_RCS ${CORE_RCS} core/sql.qrc PARENT_SCOPE)
@@
-83,3
+91,7
@@
include_directories(${CMAKE_SOURCE_DIR}/src/common)
add_library(mod_core STATIC ${SOURCES} ${MOC} ${HEADERS})
add_dependencies(mod_core mod_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)