diff -up vsomeip-3.3.0/CMakeLists.txt.build-extras vsomeip-3.3.0/CMakeLists.txt
--- vsomeip-3.3.0/CMakeLists.txt.build-extras 2023-03-30 14:20:37.804965734 -0400
+++ vsomeip-3.3.0/CMakeLists.txt 2023-03-30 14:20:58.864025268 -0400
@@ -607,6 +607,8 @@ add_subdirectory( tools )
# build examples
add_custom_target( examples )
add_subdirectory( examples EXCLUDE_FROM_ALL )
+add_custom_target( hello_world )
+add_subdirectory( examples/hello_world EXCLUDE_FROM_ALL )
##############################################################################
# Test section
diff -up vsomeip-3.3.0/examples/hello_world/CMakeLists.txt.build-extras vsomeip-3.3.0/examples/hello_world/CMakeLists.txt
--- vsomeip-3.3.0/examples/hello_world/CMakeLists.txt.build-extras 2023-03-13 10:09:12.000000000 -0400
+++ vsomeip-3.3.0/examples/hello_world/CMakeLists.txt 2023-03-30 14:20:58.865025271 -0400
@@ -45,4 +45,9 @@ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "An
add_executable (hello_world_client hello_world_client_main.cpp)
target_link_libraries(hello_world_client vsomeip_hello_world_client ${VSOMEIP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
+
+ install (
+ TARGETS hello_world_service hello_world_client
+ RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin
+ )
endif()
diff -up vsomeip-3.3.0/tools/CMakeLists.txt.build-extras vsomeip-3.3.0/tools/CMakeLists.txt
--- vsomeip-3.3.0/tools/CMakeLists.txt.build-extras 2023-03-13 10:09:12.000000000 -0400
+++ vsomeip-3.3.0/tools/CMakeLists.txt 2023-03-30 14:22:29.670281935 -0400
@@ -4,7 +4,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# vsomeip_ctrl
-add_executable(vsomeip_ctrl EXCLUDE_FROM_ALL vsomeip_ctrl.cpp)
+add_executable(vsomeip_ctrl vsomeip_ctrl.cpp)
target_link_libraries(vsomeip_ctrl
vsomeip3
${Boost_LIBRARIES}
@@ -12,5 +12,10 @@ target_link_libraries(vsomeip_ctrl
${CMAKE_THREAD_LIBS_INIT}
)
+install (
+ TARGETS vsomeip_ctrl
+ RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin
+)
+
###################################################################################################