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

Add advanced ROBOTOLOGY_SKIP_ROBOTS_CONFIGURATION CMake option #1775

Merged
merged 1 commit into from
Dec 17, 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
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
Loading