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) if(BUILD_SHARED)
add_library(amqp-cpp SHARED ${SRCS}) 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 install(TARGETS amqp-cpp
LIBRARY DESTINATION lib LIBRARY DESTINATION lib
) )

View File

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

View File

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