Closed RiccardoGrieco closed 2 years ago
Ok for this specific case and this was already the case, but in general it is not a good idea to select/deselect which parts of the build are enabled based on the environment. The problem with this is that if some optional dependency is not found in the environment, you do not realize this until you try to use the part you need. We tipically use <proj>_USES_<deps>
exactly for this reason.
Ok for this specific case and this was already the case, but in general it is not a good idea to select/deselect which parts of the build are enabled based on the environment. The problem with this is that if some optional dependency is not found in the environment, you do not realize this until you try to use the part you need. We tipically use
<proj>_USES_<deps>
exactly for this reason.
See also https://github.com/stack-of-tasks/pinocchio/issues/1323#issuecomment-709120032 for a related comment, in particular the video link https://www.youtube.com/watch?v=sBP17HQAQjk&t=653s .
For me we can merge.
Thanks @traversaro @lrapetti for the review.
For the time being let's keep these changes as this affects only users who manually build the repository, since in the superbuild yarp-telemetry
is automatically built with wearables.
Proceeding with the merge.
This PR to enhance the documentation related to
IWearLogger
.As for now, it is not built/installed if
yarp-telemetry
is missing. In order to make users aware of that, I added the info on the README's dependencies section. I also added a CMake warning message for the same purpose.