Updated cmake lists and added include, closes issue #75
This commit is contained in:
parent
2f1851728c
commit
b91e0589f6
|
|
@ -11,6 +11,7 @@ include_directories(${Boost_INCLUDE_DIRS})
|
|||
|
||||
add_library(asio_handler asiohandler.cpp asiohandler.h)
|
||||
target_link_libraries(asio_handler ${Boost_LIBRARIES})
|
||||
add_definitions(-std=c++11)
|
||||
|
||||
set(PROGS send
|
||||
receive
|
||||
|
|
@ -31,7 +32,7 @@ find_package (Threads)
|
|||
|
||||
foreach(item ${PROGS})
|
||||
add_executable(${item} "${item}.cpp")
|
||||
target_link_libraries(${item} amqp-cpp
|
||||
target_link_libraries(${item} amqpcpp
|
||||
asio_handler
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
endforeach(item)
|
||||
|
|
@ -44,4 +45,4 @@ file(COPY ${AMQCPP_HEADERS}
|
|||
|
||||
include_directories(${PROJECT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
* Dependencies
|
||||
*/
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
#include "callbacks.h"
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
#include <memory>
|
||||
#include <cstring>
|
||||
#include "endian.h"
|
||||
|
||||
/**
|
||||
* Set up namespace
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
/**
|
||||
* Dependencies
|
||||
*/
|
||||
#include "includes.h"
|
||||
#include "../include/deferredconsumerbase.h"
|
||||
#include "basicdeliverframe.h"
|
||||
#include "basicheaderframe.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue