20 lines
455 B
CMake
20 lines
455 B
CMake
include_directories(BEFORE SYSTEM ${gtest_SOURCE_DIR}/include)
|
|
include_directories(../src)
|
|
|
|
add_executable(test_api
|
|
connected_test.h
|
|
test_connect.cpp
|
|
test_channels.cpp
|
|
test_exchange.cpp
|
|
test_queue.cpp
|
|
test_publish.cpp
|
|
test_get.cpp
|
|
test_consume.cpp
|
|
test_message.cpp
|
|
test_table.cpp
|
|
test_ack.cpp
|
|
test_nack.cpp
|
|
)
|
|
target_link_libraries(test_api SimpleAmqpClient gtest gtest_main)
|
|
add_test(test_api test_api)
|