roboticslab-uc3m / questions-and-answers

A place for general debate and question&answer
https://robots.uc3m.es/developer-manual/appendix/repository-index.html
2 stars 0 forks source link

Unit tests and unsatisfied dependencies lead to compilation failure #80

Closed PeterBowman closed 5 years ago

PeterBowman commented 5 years ago

Given kinematics-dynamics/tests/CMakeLists.txt, @jgvictores noticed that certain components (e.g. KinematicRepresentationLib) are not available on a fresh instalation. CMake configuration phase succeeds, but compilation ultimately fails.

Idea: use if(TARGET) (docs).

PeterBowman commented 5 years ago

Done at kinematics-dynamics and tools repos. Not doing at xgnitive since it awais a full CMake review anyway (it's not easy to isolate specific CMake targets ATW).