113 lines
2.2 KiB
CMake
113 lines
2.2 KiB
CMake
|
|
set(GLOOX-SOURCES
|
|
adhoc.cpp
|
|
amp.cpp
|
|
annotations.cpp
|
|
attention.cpp
|
|
base64.cpp
|
|
bookmarkstorage.cpp
|
|
capabilities.cpp
|
|
chatstate.cpp
|
|
chatstatefilter.cpp
|
|
client.cpp
|
|
clientbase.cpp
|
|
component.cpp
|
|
compressiondefault.cpp
|
|
compressionzlib.cpp
|
|
connectionbosh.cpp
|
|
connectionhttpproxy.cpp
|
|
connectionsocks5proxy.cpp
|
|
connectiontcpbase.cpp
|
|
connectiontcpclient.cpp
|
|
connectiontcpserver.cpp
|
|
connectiontls.cpp
|
|
connectiontlsserver.cpp
|
|
dataform.cpp
|
|
dataformfield.cpp
|
|
dataformfieldcontainer.cpp
|
|
dataformitem.cpp
|
|
dataformreported.cpp
|
|
delayeddelivery.cpp
|
|
disco.cpp
|
|
dns.cpp
|
|
error.cpp
|
|
eventdispatcher.cpp
|
|
featureneg.cpp
|
|
flexoff.cpp
|
|
gloox.cpp
|
|
gpgencrypted.cpp
|
|
gpgsigned.cpp
|
|
inbandbytestream.cpp
|
|
instantmucroom.cpp
|
|
iq.cpp
|
|
jid.cpp
|
|
lastactivity.cpp
|
|
logsink.cpp
|
|
md5.cpp
|
|
message.cpp
|
|
messageevent.cpp
|
|
messageeventfilter.cpp
|
|
messagefilter.cpp
|
|
messagesession.cpp
|
|
mucmessagesession.cpp
|
|
mucroom.cpp
|
|
mutex.cpp
|
|
nickname.cpp
|
|
nonsaslauth.cpp
|
|
oob.cpp
|
|
parser.cpp
|
|
prep.cpp
|
|
presence.cpp
|
|
privacyitem.cpp
|
|
privacymanager.cpp
|
|
privatexml.cpp
|
|
pubsubevent.cpp
|
|
pubsubitem.cpp
|
|
pubsubmanager.cpp
|
|
receipt.cpp
|
|
registration.cpp
|
|
rosteritem.cpp
|
|
rostermanager.cpp
|
|
search.cpp
|
|
sha.cpp
|
|
shim.cpp
|
|
simanager.cpp
|
|
siprofileft.cpp
|
|
socks5bytestream.cpp
|
|
socks5bytestreammanager.cpp
|
|
socks5bytestreamserver.cpp
|
|
softwareversion.cpp
|
|
stanza.cpp
|
|
stanzaextensionfactory.cpp
|
|
subscription.cpp
|
|
tag.cpp
|
|
tlsdefault.cpp
|
|
tlsgnutlsbase.cpp
|
|
tlsgnutlsclient.cpp
|
|
tlsgnutlsclientanon.cpp
|
|
tlsgnutlsserveranon.cpp
|
|
tlsopensslbase.cpp
|
|
tlsopensslclient.cpp
|
|
tlsopensslserver.cpp
|
|
tlsschannel.cpp
|
|
uniquemucroom.cpp
|
|
util.cpp
|
|
vcard.cpp
|
|
vcardmanager.cpp
|
|
vcardupdate.cpp
|
|
xhtmlim.cpp
|
|
)
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
add_library(gloox STATIC
|
|
${GLOOX-SOURCES}
|
|
)
|
|
|
|
target_link_libraries(gloox
|
|
${GNUTLS_LIBRARIES}
|
|
)
|