Open jorisv opened 2 days ago
I agree, but I think this is not pinocchio-specific. This could go in jrl-cmakemodules I think.
If I may chime in, this is also something that SDL does: https://github.com/libsdl-org/SDL/blob/3733b1d5d877a8edf0b15a3158c2cb22942a0aab/CMakeLists.txt
They do this by wrapping the a call into a custom function SDL_PrintSummary()
which is defined in their macros.cmake
module.
The printout is very sober, very clean.
It's sometime difficult to help users when they have issues building Pinocchio.
To win some time, CMake should display the following information:
This can help with CI build.
ViSP is a good example. It provide the following CMake output and also install a file with the following information: