Skip to content

Commit

Permalink
Release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 authored Dec 14, 2022
2 parents fda7242 + 139e05a commit 4b98d2d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
################################################################################
## CMake build rules for Micro XRCE-DDS Client
################################################################################
cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.16)

###############################################################################
# Build options
Expand Down Expand Up @@ -79,8 +79,8 @@ option(UCLIENT_TWEAK_XRCE_WRITE_LIMIT "This feature uses a tweak to allow XRCE W
###############################################################################
# Dependencies
###############################################################################
set(_microcdr_version 2.0.0)
set(_microcdr_tag v2.0.0)
set(_microcdr_version 2.0.1)
set(_microcdr_tag v2.0.1)

set(_deps "")
list(APPEND _deps "microcdr\;${_microcdr_version}")
Expand All @@ -90,7 +90,7 @@ list(APPEND _deps "microcdr\;${_microcdr_version}")
###############################################################################
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
if(NOT UCLIENT_SUPERBUILD)
project(microxrcedds_client VERSION "2.2.1" LANGUAGES C)
project(microxrcedds_client VERSION "2.3.0" LANGUAGES C)
else()
project(uclient_superbuild NONE)
include(${PROJECT_SOURCE_DIR}/cmake/SuperBuild.cmake)
Expand Down
4 changes: 2 additions & 2 deletions cmake/SuperBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if(UCLIENT_BUILD_TESTS)
GIT_REPOSITORY
https://github.com/google/googletest.git
GIT_TAG
2fe3bd994b3189899d93f1d5a881e725e046fdc2
release-1.11.0
PREFIX
${PROJECT_BINARY_DIR}/googletest
INSTALL_DIR
Expand Down Expand Up @@ -98,4 +98,4 @@ ExternalProject_Add(uclient
""
DEPENDS
${_deps}
)
)
2 changes: 1 addition & 1 deletion examples/Deployment/configurator_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int main(
char** argv)
{
// Check args
uint32_t key;
uint32_t key = 0;
int create_delete = 0;
int pub_sub = 0;
uint16_t ids = 0;
Expand Down
1 change: 1 addition & 0 deletions examples/ReplyAdder/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ int main(
delivery_control.max_samples = UXR_MAX_SAMPLES_UNLIMITED;
uint16_t read_data_req =
uxr_buffer_request_data(&session, reliable_out, replier_id, reliable_in, &delivery_control);
(void) read_data_req;

// Read request
bool connected = true;
Expand Down
8 changes: 7 additions & 1 deletion test/shared_memory/SharedMemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,13 @@ TEST_P(SharedMemoryTest, SharedMemoryReqRepFragmentation)
}
#endif // ifdef UCLIENT_PROFILE_MULTITHREAD

INSTANTIATE_TEST_CASE_P(
#ifdef INSTANTIATE_TEST_SUITE_P
#define GTEST_INSTANTIATE_TEST_MACRO(x, y, z, w) INSTANTIATE_TEST_SUITE_P(x, y, z, w)
#else
#define GTEST_INSTANTIATE_TEST_MACRO(x, y, z, w) INSTANTIATE_TEST_CASE_P(x, y, z, w)
#endif // ifdef INSTANTIATE_TEST_SUITE_P

GTEST_INSTANTIATE_TEST_MACRO(
SharedMemoryTest,
SharedMemoryTest,
::testing::Values(XRCECreationMode::XRCE_XML_CREATION, XRCECreationMode::XRCE_BIN_CREATION),
Expand Down
1 change: 1 addition & 0 deletions test/unitary/session/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ extern "C"
#include <string>
#include <array>
#include <vector>
#include <algorithm>

#define MTU 64
#define HISTORY 4
Expand Down

0 comments on commit 4b98d2d

Please sign in to comment.