What is the task of catkin_package() ?
I have made many researches about this CMake macro, but I cannot understand what the task of this macro is. I have also read CMakeLists.txt tutorial in the link http://wiki.ros.org/catkin/CMakeLists.... In this tutorial, the purpose of this macro is not clearly specified, I think.
The most informative page for this macro is this link: https://docs.ros.org/api/catkin/html/...
However, this is not sufficient, I think. For example, I could not understand why we do not write all packages in find_package() macro into CATKIN_DEPENDS section of this macro.
Please see whether #q237431, #q58498 and #q261002 make this clearer.