-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from traversaro/vtk931
Rebuild for vtk 9.3.1 and stop using cdt
- Loading branch information
Showing
14 changed files
with
107 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
__migrator: | ||
build_number: 1 | ||
kind: version | ||
commit_message: "Rebuild for vtk 9.3.1" | ||
migration_number: 1 | ||
migrator_ts: 1726738929.969102 | ||
vtk_base: | ||
- 9.3.1 | ||
vtk: | ||
- 9.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ spdlog: | |
target_platform: | ||
- win-64 | ||
vtk_base: | ||
- 9.3.0 | ||
- 9.3.1 | ||
zip_keys: | ||
- - python | ||
- numpy |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
From 82d62d26d5a7f3d17731f4c6471f5de08ca387a3 Mon Sep 17 00:00:00 2001 | ||
From: Silvio Traversaro <[email protected]> | ||
Date: Fri, 20 Sep 2024 16:51:26 +0200 | ||
Subject: [PATCH] Add USE_SYSTEM_tiny-process-library option to use | ||
tiny-process-library found in system | ||
|
||
--- | ||
devices/YarpRobotLoggerDevice/CMakeLists.txt | 43 +++++++++++--------- | ||
1 file changed, 23 insertions(+), 20 deletions(-) | ||
|
||
diff --git a/devices/YarpRobotLoggerDevice/CMakeLists.txt b/devices/YarpRobotLoggerDevice/CMakeLists.txt | ||
index 38844d6a23..6f05fd5074 100644 | ||
--- a/devices/YarpRobotLoggerDevice/CMakeLists.txt | ||
+++ b/devices/YarpRobotLoggerDevice/CMakeLists.txt | ||
@@ -3,35 +3,38 @@ | ||
# BSD-3-Clause license. | ||
|
||
if(FRAMEWORK_COMPILE_YarpRobotLoggerDevice) | ||
- # Warning: the <package> option of yarp_configure_plugins_installation should be different from the plugin name | ||
- | ||
+ option(USE_SYSTEM_tiny-process-library "Use system tiny-process-library" OFF) | ||
|
||
- include(FetchContent) | ||
- FetchContent_Declare(tiny_process_library | ||
- GIT_REPOSITORY https://gitlab.com/eidheim/tiny-process-library.git | ||
- GIT_TAG v2.0.4) | ||
+ if(USE_SYSTEM_tiny-process-library) | ||
+ find_package(tiny-process-library REQUIRED) | ||
+ else() | ||
+ include(FetchContent) | ||
+ FetchContent_Declare(tiny_process_library | ||
+ GIT_REPOSITORY https://gitlab.com/eidheim/tiny-process-library.git | ||
+ GIT_TAG v2.0.4) | ||
|
||
- if(NOT tiny_process_library_POPULATED) | ||
- FetchContent_Populate(tiny_process_library) | ||
+ if(NOT tiny_process_library_POPULATED) | ||
+ FetchContent_Populate(tiny_process_library) | ||
|
||
- set(BUILD_SHARED_LIBS_OLD ${BUILD_SHARED_LIBS}) | ||
- set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Build libraries as shared as opposed to static") | ||
+ set(BUILD_SHARED_LIBS_OLD ${BUILD_SHARED_LIBS}) | ||
+ set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Build libraries as shared as opposed to static") | ||
|
||
- set(BUILD_TESTING_OLD ${BUILD_TESTING}) | ||
- set(BUILD_TESTING OFF CACHE INTERNAL "Create tests using CMake") | ||
+ set(BUILD_TESTING_OLD ${BUILD_TESTING}) | ||
+ set(BUILD_TESTING OFF CACHE INTERNAL "Create tests using CMake") | ||
|
||
- # Bring the populated content into the build | ||
- add_subdirectory(${tiny_process_library_SOURCE_DIR} ${tiny_process_library_BINARY_DIR}) | ||
+ # Bring the populated content into the build | ||
+ add_subdirectory(${tiny_process_library_SOURCE_DIR} ${tiny_process_library_BINARY_DIR}) | ||
|
||
- # Restore the old value of the parameter | ||
- set(BUILD_TESTING ${BUILD_TESTING_OLD} CACHE BOOL | ||
- "Create tests using CMake" FORCE) | ||
+ # Restore the old value of the parameter | ||
+ set(BUILD_TESTING ${BUILD_TESTING_OLD} CACHE BOOL | ||
+ "Create tests using CMake" FORCE) | ||
|
||
- set(BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS_OLD} CACHE BOOL | ||
- "Build libraries as shared as opposed to static" FORCE) | ||
+ set(BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS_OLD} CACHE BOOL | ||
+ "Build libraries as shared as opposed to static" FORCE) | ||
+ endif() | ||
endif() | ||
|
||
- | ||
+ # Warning: the <package> option of yarp_configure_plugins_installation should be different from the plugin name | ||
add_bipedal_yarp_device( | ||
NAME YarpRobotLoggerDevice | ||
TYPE BipedalLocomotion::YarpRobotLoggerDevice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters