From 02d3bd9c54d8c519ab3e0371034b11fe4db5e2f6 Mon Sep 17 00:00:00 2001 From: Moi Ran Date: Fri, 24 Nov 2023 17:30:25 +0800 Subject: [PATCH] * ADD [exchange] Include exchange in CMakeLists Signed-off-by: Moi Ran --- src/mqtt/protocol/CMakeLists.txt | 3 +-- src/mqtt/protocol/exchange/CMakeLists.txt | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 src/mqtt/protocol/exchange/CMakeLists.txt diff --git a/src/mqtt/protocol/CMakeLists.txt b/src/mqtt/protocol/CMakeLists.txt index 1447a1e90..0d05dcae6 100644 --- a/src/mqtt/protocol/CMakeLists.txt +++ b/src/mqtt/protocol/CMakeLists.txt @@ -11,5 +11,4 @@ nng_directory(protocol) add_subdirectory(mqtt) - - +add_subdirectory(exchange) diff --git a/src/mqtt/protocol/exchange/CMakeLists.txt b/src/mqtt/protocol/exchange/CMakeLists.txt new file mode 100644 index 000000000..c23fc35f0 --- /dev/null +++ b/src/mqtt/protocol/exchange/CMakeLists.txt @@ -0,0 +1,9 @@ +nng_test(producer_test) +nng_test(exchange_test) +nng_test(exchange_client_test) + +nng_sources( + producer.c + exchange.c + exchange_client.c +)