Update CMakeLists.txt. fixes #123

This commit is contained in:
RafalGoslawski 2017-05-04 11:34:17 +02:00
parent d7214d1373
commit 5e895f3b9f
3 changed files with 29 additions and 7 deletions

View File

@ -28,7 +28,7 @@ option(BUILD_SHARED "build shared library" OFF)
if(BUILD_SHARED)
add_library(amqp-cpp SHARED ${SRCS})
set_target_properties(amqp-cpp PROPERTIES SOVERSION 2.6)
set_target_properties(amqp-cpp PROPERTIES SOVERSION 2.7)
install(TARGETS amqp-cpp
LIBRARY DESTINATION lib
)

View File

@ -1,4 +1,6 @@
add_sources(
address.h
addresses.h
array.h
booleanset.h
buffer.h
@ -7,31 +9,45 @@ callbacks.h
channel.h
channelimpl.h
classes.h
endian.h
connection.h
connectionhandler.h
connectionimpl.h
copiedbuffer.h
decimalfield.h
deferred.h
deferredcancel.h
deferredconsumer.h
deferredconsumerbase.h
deferreddelete.h
deferredget.h
deferredqueue.h
endian.h
entityimpl.h
envelope.h
exception.h
exchangetype.h
field.h
fieldproxy.h
flags.h
frame.h
libev.h
libevent.h
libuv.h
login.h
message.h
metadata.h
monitor.h
numericfield.h
outbuffer.h
protocolexception.h
receivedframe.h
stack_ptr.h
stringfield.h
table.h
tcpchannel.h
tcpconnection.h
tcpdefines.h
tcphandler.h
watchable.h
)

View File

@ -1,4 +1,5 @@
add_sources(
addressinfo.h
array.cpp
basicackframe.h
basiccancelframe.h
@ -46,7 +47,6 @@ deferredcancel.cpp
deferredconsumer.cpp
deferredconsumerbase.cpp
deferredget.cpp
exception.h
exchangebindframe.h
exchangebindokframe.h
exchangedeclareframe.h
@ -59,14 +59,13 @@ exchangeunbindokframe.h
extframe.h
field.cpp
flags.cpp
frame.h
framecheck.h
headerframe.h
heartbeatframe.h
includes.h
messageimpl.h
methodframe.h
protocolexception.h
passthroughbuffer.h
pipe.h
protocolheaderframe.h
queuebindframe.h
queuebindokframe.h
@ -80,8 +79,16 @@ queuepurgeokframe.h
queueunbindframe.h
queueunbindokframe.h
receivedframe.cpp
reducedbuffer.h
returnedmessage.h
table.cpp
tcpclosed.h
tcpconnected.h
tcpconnection.cpp
tcpinbuffer.h
tcpoutbuffer.h
tcpresolver.h
tcpstate.h
transactioncommitframe.h
transactioncommitokframe.h
transactionframe.h
@ -90,5 +97,4 @@ transactionrollbackokframe.h
transactionselectframe.h
transactionselectokframe.h
watchable.cpp
tcpconnection.cpp
)