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

Provide CMake presets for the robotology-superbuild #1615

Open
traversaro opened this issue Mar 7, 2024 · 1 comment
Open

Provide CMake presets for the robotology-superbuild #1615

traversaro opened this issue Mar 7, 2024 · 1 comment

Comments

@traversaro
Copy link
Member

It would be convenient to provide some CMake presets (https://cmake.org/cmake/help/v3.22/manual/cmake-presets.7.html) to the robotology-superbuild to cover common use cases. The idea of presets is that you can specify groups of command line arguments, and when you first invoke CMake you specify the preset, instead of manually indicating the options to use, for example doing:

git clone https://github.com/robotology/robotology-superbuild
cmake --preset walking
cmake --build ./build

Possible idea for presets:

Note that it would be possible also to override some options, for example I do not think we need a separate ironcub profile, as we can do the following:

cmake --preset walking -DROBOTOLOGY_ENABLE_ICUB_HEAD:BOOL=ON

Suggestions for different presets are welcome! @Nicogene @pattacini @martinaxgloria @robotology/iit-ami-scrum-masters

@traversaro
Copy link
Member Author

fyi @giotherobot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant