Skip to content

Commit 50a9fdf

Browse files
committed
Force static compilation for iceoryx
1 parent 13bd3a4 commit 50a9fdf

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/iceoryx_binding_c/CMakeLists.txt b/iceoryx_binding_c/CMakeLists.txt
2+
index 048a6ea5a..78ff815fa 100644
3+
--- a/iceoryx_binding_c/CMakeLists.txt
4+
+++ b/iceoryx_binding_c/CMakeLists.txt
5+
@@ -16,6 +16,10 @@
6+
# SPDX-License-Identifier: Apache-2.0
7+
cmake_minimum_required(VERSION 3.16)
8+
9+
+if(WIN32)
10+
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
11+
+endif()
12+
+
13+
set(IOX_VERSION_STRING "2.0.5")
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/iceoryx_dds/CMakeLists.txt b/iceoryx_dds/CMakeLists.txt
2+
index ae1f9f83f..e79873a72 100644
3+
--- a/iceoryx_dds/CMakeLists.txt
4+
+++ b/iceoryx_dds/CMakeLists.txt
5+
@@ -16,6 +16,10 @@
6+
# SPDX-License-Identifier: Apache-2.0
7+
cmake_minimum_required(VERSION 3.16)
8+
9+
+if(WIN32)
10+
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
11+
+endif()
12+
+
13+
set(IOX_VERSION_STRING "2.0.5")
14+
15+
project(iceoryx_dds VERSION ${IOX_VERSION_STRING})
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/iceoryx_hoofs/CMakeLists.txt b/iceoryx_hoofs/CMakeLists.txt
2+
index 8afdbb5e8..cf66ba0ea 100644
3+
--- a/iceoryx_hoofs/CMakeLists.txt
4+
+++ b/iceoryx_hoofs/CMakeLists.txt
5+
@@ -17,6 +17,10 @@
6+
7+
cmake_minimum_required(VERSION 3.16)
8+
9+
+if(WIN32)
10+
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
11+
+endif()
12+
+
13+
set(IOX_VERSION_STRING "2.0.5")
14+
15+
project(iceoryx_hoofs VERSION ${IOX_VERSION_STRING})
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/iceoryx_posh/CMakeLists.txt b/iceoryx_posh/CMakeLists.txt
2+
index 57e84cdd0..d7781cbb9 100644
3+
--- a/iceoryx_posh/CMakeLists.txt
4+
+++ b/iceoryx_posh/CMakeLists.txt
5+
@@ -16,6 +16,10 @@
6+
# SPDX-License-Identifier: Apache-2.0
7+
cmake_minimum_required(VERSION 3.16)
8+
9+
+if(WIN32)
10+
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
11+
+endif()
12+
+
13+
set(IOX_VERSION_STRING "2.0.5")
14+
15+
project(iceoryx_posh VERSION ${IOX_VERSION_STRING})

0 commit comments

Comments
 (0)