Skip to content

Commit

Permalink
Merge pull request #152 from traversaro/addcycloneddswindows
Browse files Browse the repository at this point in the history
Enable rmw_cyclonedds_cpp package on Windows
  • Loading branch information
Tobias-Fischer authored Feb 26, 2024
2 parents 09198b9 + 50a9fdf commit 05579aa
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 7 deletions.
15 changes: 15 additions & 0 deletions patch/ros-humble-iceoryx-binding-c.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/iceoryx_binding_c/CMakeLists.txt b/iceoryx_binding_c/CMakeLists.txt
index 048a6ea5a..78ff815fa 100644
--- a/iceoryx_binding_c/CMakeLists.txt
+++ b/iceoryx_binding_c/CMakeLists.txt
@@ -16,6 +16,10 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.16)

+if(WIN32)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
+endif()
+
set(IOX_VERSION_STRING "2.0.5")


15 changes: 15 additions & 0 deletions patch/ros-humble-iceoryx-dds.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/iceoryx_dds/CMakeLists.txt b/iceoryx_dds/CMakeLists.txt
index ae1f9f83f..e79873a72 100644
--- a/iceoryx_dds/CMakeLists.txt
+++ b/iceoryx_dds/CMakeLists.txt
@@ -16,6 +16,10 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.16)

+if(WIN32)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
+endif()
+
set(IOX_VERSION_STRING "2.0.5")

project(iceoryx_dds VERSION ${IOX_VERSION_STRING})
15 changes: 15 additions & 0 deletions patch/ros-humble-iceoryx-hoofs.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/iceoryx_hoofs/CMakeLists.txt b/iceoryx_hoofs/CMakeLists.txt
index 8afdbb5e8..cf66ba0ea 100644
--- a/iceoryx_hoofs/CMakeLists.txt
+++ b/iceoryx_hoofs/CMakeLists.txt
@@ -17,6 +17,10 @@

cmake_minimum_required(VERSION 3.16)

+if(WIN32)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
+endif()
+
set(IOX_VERSION_STRING "2.0.5")

project(iceoryx_hoofs VERSION ${IOX_VERSION_STRING})
15 changes: 15 additions & 0 deletions patch/ros-humble-iceoryx-posh.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/iceoryx_posh/CMakeLists.txt b/iceoryx_posh/CMakeLists.txt
index 57e84cdd0..d7781cbb9 100644
--- a/iceoryx_posh/CMakeLists.txt
+++ b/iceoryx_posh/CMakeLists.txt
@@ -16,6 +16,10 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.16)

+if(WIN32)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
+endif()
+
set(IOX_VERSION_STRING "2.0.5")

project(iceoryx_posh VERSION ${IOX_VERSION_STRING})
10 changes: 3 additions & 7 deletions vinca_win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ full_rebuild: true
packages_skip_by_deps:
- cartographer
- octomap
- iceoryx_utils
- iceoryx_binding_c
- iceoryx_posh
- cyclonedds
- rttest

packages_remove_from_deps:
- cartographer
- octomap
- rmw_cyclonedds_cpp
- tlsf
- tlsf_cpp
- pendulum_control
Expand All @@ -39,13 +34,14 @@ skip_existing:

packages_select_by_deps:
- ament-cmake-core
- ros2_control
- ros2_controllers
#- ros2_control
#- ros2_controllers
- backward_ros
- ros_workspace
- vision_msgs
- ros_environment
- ros_base
- rmw_cyclonedds_cpp
# - navigation2
# - desktop
# - cv_bridge
Expand Down

0 comments on commit 05579aa

Please sign in to comment.