diff options
author | XiaoGuang Zeng <xgzeng@gmail.com> | 2011-03-03 15:50:06 +0800 |
---|---|---|
committer | XiaoGuang Zeng <xgzeng@gmail.com> | 2011-03-03 15:50:06 +0800 |
commit | 1336e40d43905c1934d3b4717e8f03a4c341588f (patch) | |
tree | 8a6130cec42bd6f469ff9dad5e819c8d9486c7d8 /examples | |
parent | 2edff50c851c1dff603b5add904d56436b1dcd4e (diff) | |
download | rabbitmq-c-github-ask-1336e40d43905c1934d3b4717e8f03a4c341588f.tar.gz |
add cmake build support.
librabbitmq and example/amqp_sendstring can be build under linux now.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..170a3ef --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,4 @@ +include_directories(${librabbitmq_SOURCE_DIR} ${librabbitmq_BINARY_DIR}) + +add_executable(amqp_sendstring amqp_sendstring.c utils.h utils.c) +target_link_libraries(amqp_sendstring rabbitmq) |