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 xgoogletest::xgoogletest) add_test(test_api test_api) if(MSVC) target_compile_options(test_api PRIVATE /utf-8) endif()