Ament index in cmake can be used to register new ressources like plugins or any type that you want to define. Not just packages.
It's an essential feature when working with different packages that all look for the same type of ressources accross the system. I believe that this crate should be the one that handles where to put these files in the install folder
For reference : https://github.com/ament/ament_cmake/blob/galactic/ament_cmake_core/cmake/index/ament_index_register_resource.cmake
I saw that the package only registers the package as a ament ressource and allows the developer to add files in the share folder but not in the index folder.
My proposal is the implementation here which allows for indexing a ressource in the index folder : #39
Ament index in cmake can be used to register new ressources like plugins or any type that you want to define. Not just packages.
It's an essential feature when working with different packages that all look for the same type of ressources accross the system. I believe that this crate should be the one that handles where to put these files in the install folder
For reference : https://github.com/ament/ament_cmake/blob/galactic/ament_cmake_core/cmake/index/ament_index_register_resource.cmake
I saw that the package only registers the package as a ament ressource and allows the developer to add files in the share folder but not in the index folder.
My proposal is the implementation here which allows for indexing a ressource in the index folder : #39