Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogs9 authored Oct 14, 2024
2 parents 7362281 + 8ff6e96 commit 3b746df
Show file tree
Hide file tree
Showing 32 changed files with 592 additions and 3,540 deletions.
23 changes: 10 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ option(UAGENT_SECURITY_PROFILE "Build security profile." OFF)
option(UAGENT_BUILD_EXECUTABLE "Build Micro XRCE-DDS Agent provided executable." ON)
option(UAGENT_BUILD_USAGE_EXAMPLES "Build Micro XRCE-DDS Agent built-in usage examples" OFF)

set(UAGENT_P2P_CLIENT_VERSION 2.4.3 CACHE STRING "Sets Micro XRCE-DDS client version for P2P")
set(UAGENT_P2P_CLIENT_TAG v2.4.3 CACHE STRING "Sets Micro XRCE-DDS client tag for P2P")
set(UAGENT_P2P_CLIENT_VERSION 3.0.0 CACHE STRING "Sets Micro XRCE-DDS client version for P2P")
set(UAGENT_P2P_CLIENT_TAG v3.0.0 CACHE STRING "Sets Micro XRCE-DDS client tag for P2P")

option(UAGENT_BUILD_CI_TESTS "Build CI test cases.")
if(UAGENT_BUILD_CI_TESTS)
Expand Down Expand Up @@ -80,7 +80,7 @@ set(_deps "")
if(UAGENT_USE_SYSTEM_FASTCDR)
set(_fastcdr_version 2)
else()
set(_fastcdr_version 2.2.0)
set(_fastcdr_version 2.2.4)
set(_fastcdr_tag 2.2.x)
endif()
list(APPEND _deps "fastcdr\;${_fastcdr_version}")
Expand All @@ -93,13 +93,13 @@ endif()

if(UAGENT_FAST_PROFILE)
if(UAGENT_USE_SYSTEM_FASTDDS)
set(_fastdds_version 2)
set(_fastdds_version 3)
else()
set(_fastdds_version 2.14)
set(_fastdds_tag 2.14.x)
set(_fastdds_version 3.1)
set(_fastdds_tag 3.x)
set(_foonathan_memory_tag v0.7-3) # This tag should be updated every time it gets updated in foonathan_memory_vendor eProsima's package
endif()
list(APPEND _deps "fastrtps\;${_fastdds_version}")
list(APPEND _deps "fastdds\;${_fastdds_version}")
endif()

if(UAGENT_LOGGER_PROFILE)
Expand All @@ -117,7 +117,7 @@ endif()
###############################################################################
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
if(NOT UAGENT_SUPERBUILD)
project(microxrcedds_agent VERSION "2.4.3" LANGUAGES C CXX)
project(microxrcedds_agent VERSION "3.0.0" LANGUAGES C CXX)
else()
project(uagent_superbuild NONE)
include(${PROJECT_SOURCE_DIR}/cmake/SuperBuild.cmake)
Expand Down Expand Up @@ -210,9 +210,6 @@ set(SRCS
${TRANSPORT_SRCS}
$<$<BOOL:${UAGENT_DISCOVERY_PROFILE}>:src/cpp/transport/discovery/DiscoveryServer.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/types/TopicPubSubType.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/xmlobjects/xmlobjects.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/middleware/fast/FastEntities.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/middleware/fast/FastMiddleware.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/middleware/fastdds/FastDDSEntities.cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:src/cpp/middleware/fastdds/FastDDSMiddleware.cpp>
$<$<BOOL:${UAGENT_CED_PROFILE}>:src/cpp/middleware/ced/CedEntities.cpp>
Expand Down Expand Up @@ -300,7 +297,7 @@ target_link_libraries(${PROJECT_NAME}
$<$<PLATFORM_ID:Windows>:iphlpapi>
$<$<BOOL:${UAGENT_LOGGER_PROFILE}>:spdlog::spdlog>
PRIVATE
$<$<BOOL:${UAGENT_FAST_PROFILE}>:fastrtps>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:fastdds>
$<$<BOOL:${UAGENT_P2P_PROFILE}>:microxrcedds_client>
$<$<BOOL:${UAGENT_P2P_PROFILE}>:microcdr>
$<$<PLATFORM_ID:Linux>:pthread>
Expand All @@ -314,7 +311,7 @@ target_include_directories(${PROJECT_NAME} BEFORE
$<TARGET_PROPERTY:fastcdr,INTERFACE_INCLUDE_DIRECTORIES>
PRIVATE
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/cpp>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:$<TARGET_PROPERTY:fastrtps,INTERFACE_INCLUDE_DIRECTORIES>>
$<$<BOOL:${UAGENT_FAST_PROFILE}>:$<TARGET_PROPERTY:fastdds,INTERFACE_INCLUDE_DIRECTORIES>>
$<$<BOOL:${UAGENT_LOGGER_PROFILE}>:$<TARGET_PROPERTY:spdlog::spdlog,INTERFACE_INCLUDE_DIRECTORIES>>
$<$<BOOL:${UAGENT_P2P_PROFILE}>:$<TARGET_PROPERTY:microxrcedds_client,INTERFACE_INCLUDE_DIRECTORIES>>
$<$<BOOL:${UAGENT_P2P_PROFILE}>:$<TARGET_PROPERTY:microcdr,INTERFACE_INCLUDE_DIRECTORIES>>
Expand Down
1 change: 0 additions & 1 deletion ci/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ ExternalProject_Add(microxrcedds_agent_isolated
TEST_COMMAND
COMMAND ${CMAKE_CTEST_COMMAND} -VV -T Test
COMMAND ${CMAKE_CTEST_COMMAND} -VV -T MemCheck -E "test-case*"
COMMAND ${CMAKE_CTEST_COMMAND} -VV -T Coverage -E "test-case*"
CMAKE_CACHE_ARGS
-DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
-DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
Expand Down
6 changes: 3 additions & 3 deletions cmake/SuperBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ if(UAGENT_FAST_PROFILE AND NOT UAGENT_USE_SYSTEM_FASTDDS)

# Fast DDS.
unset(fastdds_DIR CACHE)
find_package(fastrtps ${_fastdds_version} EXACT QUIET)
if(NOT fastrtps_FOUND)
find_package(fastdds ${_fastdds_version} EXACT QUIET)
if(NOT fastdds_FOUND)
ExternalProject_Add(fastdds
GIT_REPOSITORY
https://github.com/eProsima/Fast-DDS.git
Expand All @@ -127,7 +127,7 @@ if(UAGENT_FAST_PROFILE AND NOT UAGENT_USE_SYSTEM_FASTDDS)
PREFIX
${PROJECT_BINARY_DIR}/fastdds
INSTALL_DIR
${PROJECT_BINARY_DIR}/temp_install/fastrtps-${_fastdds_version}
${PROJECT_BINARY_DIR}/temp_install/fastdds-${_fastdds_version}
CMAKE_CACHE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DCMAKE_PREFIX_PATH:PATH=${CMAKE_PREFIX_PATH};${PROJECT_BINARY_DIR}/temp_install
Expand Down
2 changes: 1 addition & 1 deletion colcon.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "cmake",
"dependencies":[
"fastcdr",
"fastrtps"
"fastdds"
],
"cmake-args":[
"-DUAGENT_ISOLATED_INSTALL=OFF",
Expand Down
1 change: 0 additions & 1 deletion include/uxr/agent/middleware/Middleware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class Middleware
{
NONE,
#ifdef UAGENT_FAST_PROFILE
FASTRTPS,
FASTDDS,
#endif

Expand Down
Loading

0 comments on commit 3b746df

Please sign in to comment.