[cmake] Change formatting of listfiles to use gersemi, remove cmake-format#2576
[cmake] Change formatting of listfiles to use gersemi, remove cmake-format#2576ManifoldFR wants to merge 4 commits intostack-of-tasks:develfrom
Conversation
There was a problem hiding this comment.
👋 Hi,
This is a reminder message to assign an extra build label to this Pull Request if needed.
By default, this PR will be build with minimal build options (URDF support and Python bindings)
The possible extra labels are:
- build_collision (build Pinocchio with coal support)
- build_casadi (build Pinocchio with CasADi support)
- build_autodiff (build Pinocchio with CppAD support)
- build_codegen (build Pinocchio with CppADCodeGen support)
- build_extra (build Pinocchio with extra algorithms)
- build_mpfr (build Pinocchio with Boost.Multiprecision support)
- build_sdf (build Pinocchio with SDF parser)
- build_accelerate (build Pinocchio with APPLE Accelerate framework support)
- build_all (build Pinocchio with ALL the options stated above)
Thanks.
The Pinocchio development team.
|
Should it possible to postpone this PR due to parallel developments? |
|
I will handle the merging ;) |
|
Gersemi seem to well handle functions with optional arguments. The result is nice even without specifying the arguments in a config file (like we did in .cmake-format.yaml). |
Yes, the author of gersemi BlankSpruce did this deliberately to simplify the parsing logic. Users just have to write their functions/macros which use I've already used @jcarpent we can wait for Pinocchio 4, sure 😃 |
to use the cmakemodules' definitions I keep forgetting to do this every single time...
303e05e to
4b48ff8
Compare
|
As discussed previously, we will be doing this for the upcoming Pinocchio 4 release, so I'm closing this PR for now. |
This PR removes the abandoned cmake-format to use the maintained gersemi. It also reformats all the CMake listfiles, picking up case-sensitive definitions from the jrl-cmakemodules and other listfiles in Pinocchio.