Skip to content

Commit

Permalink
Merge pull request #1775 from robotology/skiprobconf
Browse files Browse the repository at this point in the history
Add advanced ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION CMake option
  • Loading branch information
traversaro authored Dec 17, 2024
2 parents daceeec + 49eda94 commit 62239e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/RobotologySuperbuildLogic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ if(ROBOTOLOGY_ENABLE_CORE)
find_or_build_package(ICUBcontrib)
find_or_build_package(icub-models)
find_or_build_package(ergocub-software)
find_or_build_package(robots-configuration)
if(NOT ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION)
find_or_build_package(robots-configuration)
endif()
if(ROBOTOLOGY_USES_GAZEBO)
find_or_build_package(GazeboYARPPlugins)
endif()
Expand Down
6 changes: 6 additions & 0 deletions cmake/RobotologySuperbuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ option(ROBOTOLOGY_ENABLE_ICUB_BASIC_DEMOS "Enable compilation of software necess
option(ROBOTOLOGY_ENABLE_HUMAN_DYNAMICS "Enable compilation of software for human dynamics estimation." FALSE)
option(ROBOTOLOGY_ENABLE_GRASPING "Enable compilation of software for grasping." FALSE)

# This is option is not meant to be used in general, but it can be useful in setups where there is a single
# robots-configuration installed outside of the robotology-superbuild that is shared by different robotology-superbuild,
# that are build in different environments or container images
option(ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION "If ON, do not clone and install the robotology/robots-configuration repository." FALSE)
mark_as_advanced(ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION)

# This is just a private undocumented option to download repos that are tracked in LatestReleases.yaml,
# but they are not actually build by the superbuild
option(ROBOTOLOGY_INTERNAL_CLONE_ALL_REPOS_FOR_UPDATE "(Internal) Clone all repos for automatic version update." FALSE)
Expand Down

0 comments on commit 62239e6

Please sign in to comment.