Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable rmw_cyclonedds_cpp package on Windows #152

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading